From 8d369615f686bbec113e891fe11a4c35f43e03dd Mon Sep 17 00:00:00 2001 From: bugron Date: Thu, 27 Aug 2015 23:19:09 +0400 Subject: [PATCH] combines two tests in one --- seed/challenges/html5-and-css.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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": [ "",