Merge pull request #13631 from JohnOKeefe15/fix/css-property-test-fail

Fix for failing test on width css property
This commit is contained in:
Samuel Plumppu
2017-03-01 12:07:40 +01:00
committed by GitHub

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": [],