From 746413bd68971e05d1163d229bc139b7bee38922 Mon Sep 17 00:00:00 2001 From: Irina Brennen Date: Thu, 3 May 2018 08:01:42 -0500 Subject: [PATCH] fix(seed): Fixed test to fail if console.clear is still commented out (#17097) Closes #16958 --- .../02-javascript-algorithms-and-data-structures/debugging.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/debugging.json b/challenges/02-javascript-algorithms-and-data-structures/debugging.json index cdbbf4cc9d..fe85fbe929 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/debugging.json +++ b/challenges/02-javascript-algorithms-and-data-structures/debugging.json @@ -98,7 +98,7 @@ "tests": [ "assert(code.match(/console\\.log\\(outputTwo\\)/g), 'message: Use console.log() to print the outputTwice variable. In your Browser Console this should print out the value of the variable two times.');", "assert(code.match(/console\\.log\\(outputOne\\)/g), 'message: Use console.log() to print the outputOne variable.');", - "assert(code.match(/console\\.clear\\(\\)/g), 'message: Use console.clear() to modify your output so that outputOne variable only outputs once.');" + "assert(code.match(/(?console.clear() to modify your output so that outputOne variable only outputs once.');" ], "solutions": [], "hints": [],