Merge pull request #9527 from arun1595/fix/uncomment-html
Fix tests for uncomment html challengepull/9572/head
commit
6c637ebd6a
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue