Merge pull request #8857 from pranayberry/fix/remainder-challenge

Updated test case for the remainder challenge
pull/8860/head
Eric Leung 2016-05-30 17:01:37 -07:00
commit 0e10970198
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@
], ],
"tests": [ "tests": [
"assert(remainder === 2, 'message: The value of <code>remainder</code> should be <code>2</code>');", "assert(remainder === 2, 'message: The value of <code>remainder</code> should be <code>2</code>');",
"assert(/\\d+\\s*%\\s*\\d+/.test(code), 'message: You should use the <code>%</code> operator');" "assert(/var\\s*?remainder\\s*?=\\s*?.*%.*;/.test(code), 'message: You should use the <code>%</code> operator');"
], ],
"type": "waypoint", "type": "waypoint",
"challengeType": 1, "challengeType": 1,