diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json index 16fdc1afffd..55b84d6a098 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json @@ -258,7 +258,7 @@ ], "tests": [ "assert.deepEqual(forecast(['cold', 'rainy', 'warm', 'sunny', 'cool', 'thunderstorms']), ['warm', 'sunny'], 'message: forecast should return [\"warm\", \"sunny\"]');", - "assert.notStrictEqual(forecast.toString().search(/\\.slice\\(/), -1, 'message: The forecast function should utilize the slice() method');" + "assert(/\\.slice\\(/.test(code), 'message: The forecast function should utilize the slice() method');" ], "type": "waypoint", "solutions": [],