diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index ee385d8b7c..642cade5fd 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -3113,7 +3113,7 @@ "tests": [ "assert(!/else/g.test(code), 'message: You should not use any else statements');", "assert(!/if/g.test(code), 'message: You should not use any if statements');", - "assert(code.match(/break/g).length === 4, 'message: You should have four break statements');", + "assert(code.match(/break/g).length >= 4, 'message: You should have at least four break statements');", "assert(myTest(\"bob\") === \"Marley\", 'message: myTest(\"bob\") should be \"Marley\"');", "assert(myTest(42) === \"The Answer\", 'message: myTest(42) should be \"The Answer\"');", "assert(myTest(1) === \"There is no #1\", 'message: myTest(1) should be \"There is no #1\"');",