From 3cc039596490e624f3145c259c01bd3f8fda3167 Mon Sep 17 00:00:00 2001 From: Shubham Shah <52590791+ShubhamCanMakeCommit@users.noreply.github.com> Date: Mon, 30 Dec 2019 04:47:17 +0530 Subject: [PATCH] added a test to challenge:falsy-bouncer (#37973) * added a test to challenge:falsy-bouncer * modified tests of challenge:falsy-bouncer --- .../basic-algorithm-scripting/falsy-bouncer.english.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/falsy-bouncer.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/falsy-bouncer.english.md index 4c9dc96225..b842b3734d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/falsy-bouncer.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-algorithm-scripting/falsy-bouncer.english.md @@ -30,9 +30,8 @@ tests: testString: assert.deepEqual(bouncer(["a", "b", "c"]), ["a", "b", "c"]); - text: bouncer([false, null, 0, NaN, undefined, ""]) should return []. testString: assert.deepEqual(bouncer([false, null, 0, NaN, undefined, ""]), []); - - text: bouncer([1, null, NaN, 2, undefined]) should return [1, 2]. - testString: assert.deepEqual(bouncer([1, null, NaN, 2, undefined]), [1, 2]); - + - text: bouncer([null, NaN, 1, 2, undefined]) should return [1, 2]. + testString: assert.deepEqual(bouncer([null, NaN, 1, 2, undefined]), [1, 2]); ```