diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json b/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json
index e637b30db6a..b9637274921 100644
--- a/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json
+++ b/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json
@@ -85,8 +85,8 @@
""
],
"tests": [
- "assert(code.match(/console\\.log\\(dog\\.name\\)/g), 'message: Your code should use a console.log statement to print the value for the name property of the dog object.');",
- "assert(code.match(/console\\.log\\(dog\\.numLegs\\)/g), 'message: Your code should use a console.log statement to print the value for the numLegs property of the dog object.');"
+ "assert(/console.log\\(.*dog\\.name.*\\)/g.test(code), 'message: Your should use console.log to print the value for the name property of the dog object.');",
+ "assert(/console.log\\(.*dog\\.numLegs.*\\)/g.test(code), 'message: Your should use console.log to print the value for the numLegs property of the dog object.');"
],
"solutions": [
"let dog = {\n name: \"Spot\",\n numLegs: 4\n};\nconsole.log(dog.name);\nconsole.log(dog.numLegs);"