Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
fix(challenges): fix regex (es6 : import vs require)
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #108
  • Loading branch information
mpmaan authored and scissorsneedfoodtoo committed Jul 8, 2018
1 parent f31fe38 commit f4d598f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@
{
"text": "valid <code>import</code> statement",
"testString":
"getUserInput => assert(getUserInput('index').match(/import\\s+\\{\\s?capitalizeString\\s?\\}\\s+from\\s+\"string_functions\"/g), 'valid <code>import</code> statement');"
"getUserInput => assert(getUserInput('index').match(/import\\s+\\{\\s?capitalizeString\\s?\\}\\s+from\\s+(\"|')string_functions\\1/g), 'valid <code>import</code> statement');"
}
],
"releasedOn": "Feb 17, 2017",
Expand Down

0 comments on commit f4d598f

Please sign in to comment.