Fix tests for uncomment html challenge
This commit is contained in:
@ -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, i.e. <code>--></code>.');"
|
||||
"assert(!/-->/gi.test(code.replace(/ *<!--.*\\n/g,'')), 'message: Be sure to delete all trailing comment tags, i.e. <code>--></code>.');"
|
||||
],
|
||||
"type": "waypoint",
|
||||
"titleEs": "Quita comentarios HTML",
|
||||
|
Reference in New Issue
Block a user