Skip to content

Commit

Permalink
fix(challenges): Update test to include whitespace (freeCodeCamp#272)
Browse files Browse the repository at this point in the history
* fix(challenges): Update test to include whitespace

ISSUES CLOSED: freeCodeCamp#271
  • Loading branch information
Nirajn2311 authored and joshalling committed Aug 25, 2018
1 parent cb21e59 commit 77689f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
{
"text": "Declare a <code>@media</code> query for devices with a <code>height</code> less than or equal to 800px.",
"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.');"
"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.');"
}
],
"releasedOn": "Feb 17, 2017",
Expand Down

0 comments on commit 77689f4

Please sign in to comment.