fix(challenge): typos in first Basic CSS challenge test

This commit is contained in:
wudifeixue
2018-07-06 16:45:21 -06:00
committed by Kristofer Koishigawa
parent 93277e5d47
commit 5e41e744a5

View File

@ -4561,15 +4561,15 @@
}, },
{ {
"text": "text":
"<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>white</code>.", "<code>penguin</code> class should declare the <code>--penguin-belly</code> variable and assign it to <code>white</code>.",
"testString": "testString":
"assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-belly\\s*?:\\s*?white\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>white</code>.');" "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-belly\\s*?:\\s*?white\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-belly</code> variable and assign it to <code>white</code>.');"
}, },
{ {
"text": "text":
"<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>orange</code>.", "<code>penguin</code> class should declare the <code>--penguin-beak</code> variable and assign it to <code>orange</code>.",
"testString": "testString":
"assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-beak\\s*?:\\s*?orange\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-skin</code> variable and assign it to <code>orange</code>.');" "assert(code.match(/.penguin\\s*?{[\\s\\S]*--penguin-beak\\s*?:\\s*?orange\\s*?;[\\s\\S]*}/gi), '<code>penguin</code> class should declare the <code>--penguin-beak</code> variable and assign it to <code>orange</code>.');"
} }
], ],
"solutions": [], "solutions": [],