Add test case for front-end challenge.

pull/18182/head
Jose Tello 2016-04-27 22:43:23 -07:00
parent 37aefbe42c
commit bc4b9a9a41
1 changed files with 1 additions and 1 deletions

View File

@ -2734,7 +2734,7 @@
"assert(testStrict(10) === \"Not Equal\", 'message: <code>testStrict(10)</code> should return \"Not Equal\"');",
"assert(testStrict(7) === \"Equal\", 'message: <code>testStrict(7)</code> should return \"Equal\"');",
"assert(testStrict(\"7\") === \"Not Equal\", 'message: <code>testStrict(\"7\")</code> should return \"Not Equal\"');",
"assert(code.match(/val\\s*===\\s*\\d+/g).length > 0, 'message: You should use the <code>===</code> operator');"
"assert(code.match(/(val\\s*===\\s*\\d+)|(\\d+\\s*===\\s*val)/g).length > 0, 'message: You should use the <code>===</code> operator');"
],
"type": "waypoint",
"challengeType": 1,