fix(challenges): update RegEx for testcase in es6 challenge
This commit is contained in:
committed by
Kristofer Koishigawa
parent
12c78d49d5
commit
857b3e9a88
@ -1341,12 +1341,12 @@
|
|||||||
{
|
{
|
||||||
"text": "<code>foo</code> is exported.",
|
"text": "<code>foo</code> is exported.",
|
||||||
"testString":
|
"testString":
|
||||||
"getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+foo\\s+=+\\s\"bar\"/g), '<code>foo</code> is exported.');"
|
"getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+foo\\s*=\\s*\"bar\"/g), '<code>foo</code> is exported.');"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "<code>bar</code> is exported.",
|
"text": "<code>bar</code> is exported.",
|
||||||
"testString":
|
"testString":
|
||||||
"getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+bar\\s+=+\\s\"foo\"/g), '<code>bar</code> is exported.');"
|
"getUserInput => assert(getUserInput('index').match(/export\\s+const\\s+bar\\s*=\\s*\"foo\"/g), '<code>bar</code> is exported.');"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"releasedOn": "Feb 17, 2017",
|
"releasedOn": "Feb 17, 2017",
|
||||||
|
Reference in New Issue
Block a user