From 6482c718102435a4814508e63fe143013f8f927f Mon Sep 17 00:00:00 2001 From: Julien Dephix Date: Mon, 27 Mar 2017 13:41:24 +0200 Subject: [PATCH] allow multiple variants of "color:red" in style attribute --- challenges/01-responsive-web-design/basic-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/01-responsive-web-design/basic-css.json b/challenges/01-responsive-web-design/basic-css.json index 11555cb61b..06e94d69d9 100644 --- a/challenges/01-responsive-web-design/basic-css.json +++ b/challenges/01-responsive-web-design/basic-css.json @@ -87,7 +87,7 @@ "" ], "tests": [ - "assert(code.match(/\\s*CatPhotoApp\\s*<\\/h2>/) || code.match(/\\s*CatPhotoApp\\s*<\\/h2>/), 'message: Your h2 element should be red.');" + "assert(code.match(/\\s*CatPhotoApp\\s*<\\/h2>/), 'message: Your h2 element should be red.');" ], "type": "waypoint", "challengeType": 0,