From dae411d408d69266830402e87181a80f1f9c3cbc Mon Sep 17 00:00:00 2001 From: Tom <20648924+moT01@users.noreply.github.com> Date: Mon, 24 Feb 2020 10:07:50 -0600 Subject: [PATCH] fix: failing test (#38253) --- .../basic-javascript-rpg-game/part-139.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-139.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-139.md index dc75dd53346..d6752722bdc 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-139.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript-rpg-game/part-139.md @@ -35,7 +35,7 @@ while(i < 5) { ```yml tests: - text: See description above for instructions. - testString: assert(pick.toString().replace(/\s/g, '').includes('while(numbers.length<10){if(Date.now()-_LP>100){')); # Take loop protect into account + testString: assert(pick.toString().replace(/\s/g, '').includes('while(numbers.length<10){if(_LPC++%2000===0&&Date.now()-_LP>1500){')); # Take loop protect into account ```