Updated to reflect original wording a bit better

Another slight tweak to line 1803 to make it more true to the original wording of the challenge
This commit is contained in:
benmcmahon100
2015-07-08 19:45:27 +01:00
parent 3066bdc335
commit dd249197cb

View File

@ -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.')"
],