Merge pull request #9527 from arun1595/fix/uncomment-html

Fix tests for uncomment html challenge
This commit is contained in:
Stuart Taylor
2016-07-05 11:50:40 +01:00
committed by GitHub

View File

@ -265,7 +265,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(!/-->/gi.test(code), 'message: Be sure to delete all trailing comment tags&#44; i.e. <code>--&#62;</code>.');"
"assert(!/-->/gi.test(code.replace(/ *<!--.*\\n/g,'')), 'message: Be sure to delete all trailing comment tags&#44; i.e. <code>--&#62;</code>.');"
],
"type": "waypoint",
"titleEs": "Quita comentarios HTML",