From 85b736b64d8ba23fed598415dd2c4d74655ec3f7 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Tue, 18 Aug 2015 01:07:09 -0700 Subject: [PATCH] fix 1705 --- 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 1539cd45b9e..b7a82a256c6 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -381,7 +381,7 @@ ], "tests": [ "assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your h2 element.')", - "assert(($(\"style\").length > 1), 'Create a style element.')", + "assert($(\"style\") && $(\"style\").length > 1, 'Create a style element.')", "assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your h2 element should be blue.')", "assert(editor.match(/<\\/style>/g) && editor.match(/<\\/style>/g).length === editor.match(/