first fixes - length larger _or equal_ to 1
I'm not sure if the tests are too vague - they allow to comment out way more than just the text specified - like the whole page..pull/18182/head
parent
cb929cdba9
commit
16add147e4
|
@ -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><!--</code>.')",
|
"assert(editor.match(/<!--/g).length >= 1, 'Start a comment with <code><!--</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).length >= 1, '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>--></code>.')"
|
"assert(editor.match(/-->/g).length >= 1, 'Be sure to close your comment with <code>--></code>.')"
|
||||||
],
|
],
|
||||||
"challengeSeed": [
|
"challengeSeed": [
|
||||||
"<div class='container-fluid'>",
|
"<div class='container-fluid'>",
|
||||||
|
|
Loading…
Reference in New Issue