From d2cec5e1b2cc9b8fc8e3b7c2cef174402c6c78c7 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Sat, 22 Aug 2015 18:46:30 -0700 Subject: [PATCH] Add extra test case for bonfire Drop It to fix issue #2533 --- challenges/intermediate-bonfires.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/challenges/intermediate-bonfires.json b/challenges/intermediate-bonfires.json index bc1578db37..dd7c55495e 100644 --- a/challenges/intermediate-bonfires.json +++ b/challenges/intermediate-bonfires.json @@ -682,7 +682,8 @@ "tests": [ "expect(drop([1, 2, 3, 4], function(n) {return n >= 3; })).to.eqls([3, 4]);", "expect(drop([1, 2, 3], function(n) {return n > 0; })).to.eqls([1, 2, 3]);", - "expect(drop([1, 2, 3, 4], function(n) {return n > 5; })).to.eqls([]);" + "expect(drop([1, 2, 3, 4], function(n) {return n > 5; })).to.eqls([]);", + "expect(drop([1, 2, 3, 7, 4], function(n) { return > 5; })).to.equals([7, 4]);" ], "MDNlinks": [ "Arguments object",