Add extra test case for bonfire Drop It to fix issue #2533

pull/3236/head
Nathan Scott 2015-08-22 18:46:30 -07:00 committed by Berkeley Martinez
parent 744a8182ba
commit 0bc6831399
1 changed files with 2 additions and 1 deletions

View File

@ -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",