Merge pull request #4963 from SaintPeter/fix/uncomment-html-degenerate-test

Fix Uncomment HTML bad 4th test
This commit is contained in:
Logan Tegman
2015-12-02 20:16:37 -08:00

View File

@ -156,7 +156,7 @@
"assert($(\"h1\").length > 0, 'message: Make your <code>h1</code> element visible on your page by uncommenting it.');",
"assert($(\"h2\").length > 0, 'message: Make your <code>h2</code> element visible on your page by uncommenting it.');",
"assert($(\"p\").length > 0, 'message: Make your <code>p</code> element visible on your page by uncommenting it.');",
"assert(!new RegExp(\"-->\", \"gi\").test(code), 'message: Be sure to delete all trailing comment tags&#44; i.e. <code>--&#62;</code>.');"
"assert(!/-->/gi.test(code), 'message: Be sure to delete all trailing comment tags&#44; i.e. <code>--&#62;</code>.');"
],
"challengeSeed": [
"<!--",