Merge pull request #1584 from flota113/flota113-1579

Fixed tests in Waypoint: Use Comments to Clarify Code
This commit is contained in:
benmcmahon100
2015-08-06 00:21:59 +01:00

View File

@ -2036,9 +2036,9 @@
"Add a comment at the top of your HTML that says <code>You shouldn't need to modify code below this line</code>." "Add a comment at the top of your HTML that says <code>You shouldn't need to modify code below this line</code>."
], ],
"tests": [ "tests": [
"assert(editor.match(/<!--/g).length > 1, 'Start a comment with <code>&#60;!--</code>.')", "assert(editor.match(/<!--/g) && editor.match(/<!--/g).length > 0, 'Start a comment with <code>&#60;!--</code>.')",
"assert(editor.match(/this line/g).length > 1, 'Your comment should have the text <code>You shouldn't need to modify code below this line</code>')", "assert(editor.match(/this line/g) && editor.match(/this line/g).length > 0, \"Your comment should have the text <code>You shouldn't need to modify code below this line</code>\")",
"assert(editor.match(/-->/g).length > 1, 'Be sure to close your comment with <code>--&#62;</code>.')" "assert(editor.match(/-->/g) && editor.match(/-->/g).length > 0, 'Be sure to close your comment with <code>--&#62;</code>.')"
], ],
"challengeSeed": [ "challengeSeed": [
"<div class='container-fluid'>", "<div class='container-fluid'>",