From 8fa32c52fc14c80466fc969a5ae55f63beb30297 Mon Sep 17 00:00:00 2001 From: Timur Date: Fri, 1 Feb 2019 06:55:10 +1000 Subject: [PATCH] Fixes #13774 (#34801) * Fixes #13774 * del redundant group in test ereg --- .../add-a-box-shadow-to-a-card-like-element.english.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/add-a-box-shadow-to-a-card-like-element.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/add-a-box-shadow-to-a-card-like-element.english.md index a2cedc25df..024919bac7 100644 --- a/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/add-a-box-shadow-to-a-card-like-element.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/applied-visual-design/add-a-box-shadow-to-a-card-like-element.english.md @@ -26,7 +26,7 @@ tests: - text: Your code should add a box-shadow property for the thumbnail id. testString: assert(code.match(/#thumbnail\s*?{\s*?box-shadow/g), 'Your code should add a box-shadow property for the thumbnail id.'); - text: You should use the given CSS for the box-shadow value. - testString: assert(code.match(/box-shadow:\s*?0\s+?10px\s+?20px\s+?rgba\(\s*?0\s*?,\s*?0\s*?,\s*?0\s*?,\s*?0?\.19\),\s*?0\s+?6px\s+?6px\s+?rgba\(\s*?0\s*?,\s*?0\s*?,\s*?0\s*?,\s*?0?\.23\)/gi), 'You should use the given CSS for the box-shadow value.'); + testString: assert(code.match(/box-shadow:\s*?0\s+?10px\s+?20px\s+?rgba\(\s*?0\s*?,\s*?0\s*?,\s*?0\s*?,\s*?0?\.19\)\s*?,\s*?0\s+?6px\s+?6px\s+?rgba\(\s*?0\s*?,\s*?0\s*?,\s*?0\s*?,\s*?0?\.23\)/gi), 'You should use the given CSS for the box-shadow value.'); ```