diff --git a/challenges/automated-testing-and-debugging.json b/challenges/automated-testing-and-debugging.json
index 5e1fb9602a..012cbeb7cb 100644
--- a/challenges/automated-testing-and-debugging.json
+++ b/challenges/automated-testing-and-debugging.json
@@ -38,10 +38,10 @@
"console.log(typeof {});
"
],
"tests":[
- "assert(editor.getValue().match(/console\\.log\\(typeof\\(\"\"\\)\\);/gi), 'message: You should console.log
the typeof
a string.');",
- "assert(editor.getValue().match(/console\\.log\\(typeof\\(0\\)\\);/gi), 'message: You should console.log
the typeof
a number.');",
- "assert(editor.getValue().match(/console\\.log\\(typeof\\(\\[\\]\\)\\);/gi), 'message: You should console.log
the typeof
an array.');",
- "assert(editor.getValue().match(/console\\.log\\(typeof\\(\\{\\}\\)\\);/gi), 'message: You should console.log
the typeof
a object.');"
+ "assert(editor.getValue().match(/console\\.log\\(typeof[\\( ]\"\"\\)?\\);/gi), 'message: You should console.log
the typeof
a string.');",
+ "assert(editor.getValue().match(/console\\.log\\(typeof[\\( ]0\\)?\\);/gi), 'message: You should console.log
the typeof
a number.');",
+ "assert(editor.getValue().match(/console\\.log\\(typeof[\\( ]\\[\\]\\)?\\);/gi), 'message: You should console.log
the typeof
an array.');",
+ "assert(editor.getValue().match(/console\\.log\\(typeof[\\( ]\\{\\}\\)?\\);/gi), 'message: You should console.log
the typeof
a object.');"
],
"challengeSeed":[
"",