From 111ff7ed1c4056beea582ff76841038361f32300 Mon Sep 17 00:00:00 2001 From: Harsha Date: Sat, 5 Dec 2015 15:54:43 -0500 Subject: [PATCH] fix regex to test h1 tag spanning multiple lines --- 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 9946331d4a..da246fe22c 100644 --- a/seed/challenges/html5-and-css.json +++ b/seed/challenges/html5-and-css.json @@ -3660,7 +3660,7 @@ "assert($(\"h1\").hasClass(\"pink-text\"), 'message: Your h1 element should have the class pink-text.');", "assert($(\"h1\").hasClass(\"blue-text\"), 'message: Your h1 element should have the class blue-text.');", "assert($(\"h1\").attr(\"id\") === \"orange-text\", 'message: Your h1 element should have the id of orange-text.');", - "assert(code.match(/h1 element the inline style of color: white.');", + "assert(code.match(/h1 element the inline style of color: white.');", "assert($(\"h1\").css(\"color\") === \"rgb(255, 255, 255)\", 'message: Your h1 element should be white.');" ], "challengeSeed": [