From a051d8cc93c12e2c9b126a19c238c80b92e240de Mon Sep 17 00:00:00 2001 From: Harsha Date: Sat, 5 Dec 2015 01:22:34 -0500 Subject: [PATCH] Modified regex in test case for passing img tag spanning multiple lines --- seed/challenges/bootstrap.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/bootstrap.json b/seed/challenges/bootstrap.json index 9190bc375a..7b2815f779 100644 --- a/seed/challenges/bootstrap.json +++ b/seed/challenges/bootstrap.json @@ -110,7 +110,7 @@ "assert($(\"img:eq(1)\").hasClass(\"img-responsive\"), 'message: Your new image should be below your old one and have the class img-responsive.');", "assert(!$(\"img:eq(1)\").hasClass(\"smaller-image\"), 'message: Your new image should not have the class smaller-image.');", "assert($(\"img:eq(1)\").attr(\"src\") === \"http://bit.ly/fcc-running-cats\", 'message: Your new image should have a src of http://bit.ly/fcc-running-cats.');", - "assert(code.match(//g).length === 2 && code.match(/img element has a closing angle bracket.');" + "assert(code.match(//g).length === 2 && code.match(/img element has a closing angle bracket.');" ], "challengeSeed": [ "",