diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json index 9142e952cc..5e3091a7b4 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -1747,9 +1747,8 @@ ], "tests": [ "assert($(\"form\") && $(\"form\").children(\"input\") && $(\"form\").children(\"input\").length > 0, 'Nest your text input element within a form element.')", - "assert($(\"form\").attr(\"action\"), 'Your form element should have an action attribute.')", - "assert(editor.match(/<\\/form>/g) && editor.match(/
/g).length === editor.match(/form element has a closing tag.')", - "assert(editor.match(/\\/submit-cat-photo/ig), 'Make sure your form action is set to /submit-cat-photo.')" + "assert($(\"form\").attr(\"action\") === \"/submit-cat-photo\", 'Make sure your form has an action attribute which is set to /submit-cat-photo.')", + "assert(editor.match(/<\\/form>/g) && editor.match(//g).length === editor.match(/form element has a closing tag.')" ], "challengeSeed": [ "",