From 3e778fe4524c53ca2d80c178a180f95fc93eb73e 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/seed/challenges/02-javascript-algorithms-and-data-structures/debugging.json b/seed/challenges/02-javascript-algorithms-and-data-structures/debugging.json index cdbbf4cc9d..fe85fbe929 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/debugging.json +++ b/seed/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": [],