diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json
index 41cd943aa41..1461a68fd50 100644
--- a/challenges/basic-javascript.json
+++ b/challenges/basic-javascript.json
@@ -352,7 +352,7 @@
"Replace the 0 with the correct number so you can get the result mentioned in the comment."
],
"tests": [
- "assert((function(){if(quotient === 2 && editor.getValue().match(/\\//g)){return true;}else{return false;}})(), 'Make the variable quotient equal 2.');"
+ "assert((function(){if(quotient === 2 && editor.getValue().match(/var\\s*?quotient\\s*?\\=\\s*?\\d+\\s*?\\/\\s*?\\d+\\s*?;/g)){return true;}else{return false;}})(), 'Make the variable quotient equal 2.');"
],
"challengeSeed": [
"var quotient = 66 / 0; //make this equal to 2 by changing the 0 into the appropriate number.",