Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Commit 77689f4

Browse files
Nirajn2311joshalling
authored andcommitted
fix(challenges): Update test to include whitespace (#272)
* fix(challenges): Update test to include whitespace ISSUES CLOSED: #271
1 parent cb21e59 commit 77689f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/01-responsive-web-design/responsive-web-design.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
{
2727
"text": "Declare a <code>@media</code> query for devices with a <code>height</code> less than or equal to 800px.",
28-
"testString": "assert(code.match(/@media\\s?\\(max-height:\\s*?800px\\)/g), 'Declare a <code>@media</code> query for devices with a <code>height</code> less than or equal to 800px.');"
28+
"testString": "assert(code.match(/@media\\s*?\\(\\s*?max-height\\s*?:\\s*?800px\\s*?\\)/g), 'Declare a <code>@media</code> query for devices with a <code>height</code> less than or equal to 800px.');"
2929
}
3030
],
3131
"releasedOn": "Feb 17, 2017",

0 commit comments

Comments
 (0)