From fad9cae63975b8d83b8ba849fd472751295693a4 Mon Sep 17 00:00:00 2001 From: Samuel Plumppu Date: Mon, 20 Feb 2017 14:34:04 +0100 Subject: [PATCH] fix(challenge): Use correct indices in test messages. (#13461) --- .../basic-data-structures.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json b/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json index 7b0c39dd73..a1e9be6dd4 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json +++ b/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json @@ -90,8 +90,8 @@ "tests": [ "assert.strictEqual(myArray[0], \"a\", 'message: myArray[0] is equal to \"a\"');", "assert.notStrictEqual(myArray[1], \"b\", 'message: myArray[1] is no longer set to \"b\"');", - "assert.strictEqual(myArray[2], \"c\", 'message: myArray[0] is equal to \"c\"');", - "assert.strictEqual(myArray[3], \"d\", 'message: myArray[0] is equal to \"d\"');" + "assert.strictEqual(myArray[2], \"c\", 'message: myArray[2] is equal to \"c\"');", + "assert.strictEqual(myArray[3], \"d\", 'message: myArray[3] is equal to \"d\"');" ], "type": "waypoint", "solutions": [], @@ -822,4 +822,4 @@ "translations": {} } ] -} \ No newline at end of file +}