From 4163b376bf9385135745f77e6121c144f03f4f54 Mon Sep 17 00:00:00 2001 From: Joel Bentley Date: Sun, 13 Sep 2015 15:34:54 -0400 Subject: [PATCH] Remove unneeded tests --- challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json index ebbe234111..b731a35a1d 100644 --- a/challenges/basic-javascript.json +++ b/challenges/basic-javascript.json @@ -675,7 +675,7 @@ "Create and call a function called myFunction that returns the sum of a and b." ], "tests":[ - "assert((function(){if(typeof(f) !== \"undefined\" && typeof(f) === \"number\" && f === a + b && editor.getValue().match(/return/gi).length >= 1 && editor.getValue().match(/a/gi).length >= 1 && editor.getValue().match(/b/gi).length >= 1 && editor.getValue().match(/\\+/gi).length >= 1){return true;}else{return false;}})(), 'Your function should return the value of a + b');" + "assert((function(){if(typeof(f) !== \"undefined\" && f === a + b){return true;}else{return false;}})(), 'Your function should return the value of a + b');" ], "challengeSeed":[ "var a = 4;",