Skip to content

Commit

Permalink
Updated to reflect original wording a bit better
Browse files Browse the repository at this point in the history
Another slight tweak to line 1803 to make it more true to the original wording of the challenge
  • Loading branch information
benmcmahon100 committed Jul 8, 2015
1 parent 3066bdc commit dd24919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seed/challenges/basic-html5-and-css.json
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@
],
"tests": [
"assert($('form').children('button').length > 0, 'Your form should have a button inside it.')",
"assert($('button').attr('type') === 'submit', 'Your submit button should have the type \"submit\".')",
"assert($('button').attr('type') === 'submit', 'Your submit button should be of input type \"submit\".')",
"assert($('button').text().match(/submit/gi), 'Your submit button should have the text \"submit\".')",
"assert(editor.match(/<\\/button>/g) && editor.match(/<button/g) && editor.match(/<\\/button>/g).length === editor.match(/<button/g).length, 'Make sure your <code>button</code> element has a closing tag.')"
],
Expand Down

0 comments on commit dd24919

Please sign in to comment.