From fed3327bcfd288d6717e81e1f7b2d7b8ba08292a Mon Sep 17 00:00:00 2001 From: Jose Tello Date: Wed, 27 Apr 2016 22:43:23 -0700 Subject: [PATCH] Add test case for front-end challenge. --- .../basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 6b583a7fb9..7ad325ccf7 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -2734,7 +2734,7 @@ "assert(testStrict(10) === \"Not Equal\", 'message: testStrict(10) should return \"Not Equal\"');", "assert(testStrict(7) === \"Equal\", 'message: testStrict(7) should return \"Equal\"');", "assert(testStrict(\"7\") === \"Not Equal\", 'message: testStrict(\"7\") should return \"Not Equal\"');", - "assert(code.match(/val\\s*===\\s*\\d+/g).length > 0, 'message: You should use the === operator');" + "assert(code.match(/(val\\s*===\\s*\\d+)|(\\d+\\s*===\\s*val)/g).length > 0, 'message: You should use the === operator');" ], "type": "waypoint", "challengeType": 1,