From a21348bec93bdd91e8becfcf62b2ccba36d06c16 Mon Sep 17 00:00:00 2001 From: SaintPeter Date: Wed, 2 Dec 2015 19:07:21 -0800 Subject: [PATCH] Fix Uncomment HTML bad 4th test --- seed/challenges/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/html5-and-css.json b/seed/challenges/html5-and-css.json index e99acf7840..fd8f176d7e 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -156,7 +156,7 @@ "assert($(\"h1\").length > 0, 'message: Make your h1 element visible on your page by uncommenting it.');", "assert($(\"h2\").length > 0, 'message: Make your h2 element visible on your page by uncommenting it.');", "assert($(\"p\").length > 0, 'message: Make your p element visible on your page by uncommenting it.');", - "assert(!new RegExp(\"-->\", \"gi\").test(code), 'message: Be sure to delete all trailing comment tags, i.e. -->.');" + "assert(!/-->/gi.test(code), 'message: Be sure to delete all trailing comment tags, i.e. -->.');" ], "challengeSeed": [ "