Fix for failing test on width css property

This commit is contained in:
John OKeefe
2017-02-23 20:18:32 -08:00
parent 4ded8169cb
commit 9aa8cd261a

View File

@ -126,7 +126,7 @@
"</div>"
],
"tests": [
"assert($('.fullCard').css('width') == '245px', 'message: Your code should change the <code>width</code> property of the card to 245 pixels by using the <code>fullCard</code> class selector.');"
"assert(code.match(/.fullCard\\s*{[\\s\\S][^}]*\\n*^\\s*width\\s*:\\s*245px\\s*;/gm), 'message: Your code should change the <code>width</code> property of the card to 245 pixels by using the <code>fullCard</code> class selector.');"
],
"solutions": [],
"hints": [],