fix(challenges): Update test to include whitespace (#272)

* fix(challenges): Update test to include whitespace

ISSUES CLOSED: #271
pull/18182/head
Niraj Nandish 2018-08-25 18:31:17 +04:00 committed by Josh Alling
parent cb21e59f7a
commit 77689f42bd
1 changed files with 1 additions and 1 deletions

View File

@ -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",