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

Fix tests for uncomment html challenge
pull/9572/head
Stuart Taylor 2016-07-05 11:50:40 +01:00 committed by GitHub
commit 6c637ebd6a
1 changed files with 1 additions and 1 deletions

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($(\"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($(\"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($(\"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", "type": "waypoint",
"titleEs": "Quita comentarios HTML", "titleEs": "Quita comentarios HTML",