Skip to content

Commit

Permalink
Merge pull request freeCodeCamp#4248 from SaintPeter/fix/drop-it-test…
Browse files Browse the repository at this point in the history
…-cases

Add test case to Bonfire: Drop It
  • Loading branch information
Berkeley Martinez committed Nov 8, 2015
2 parents d7bf947 + f3f2e22 commit 1389795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion seed/challenges/intermediate-bonfires.json
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,8 @@
"assert.deepEqual(drop([1, 2, 3, 4], function(n) {return n>= 3;}), [3, 4], 'message: <code>drop([1, 2, 3, 4], function(n) {return n >= 3;})</code> should return <code>[3, 4]</code>.');",
"assert.deepEqual(drop([1, 2, 3], function(n) {return n > 0; }), [1, 2, 3], 'message: <code>drop([1, 2, 3], function(n) {return n > 0; })</code> should return <code>[1, 2, 3]</code>.');",
"assert.deepEqual(drop([1, 2, 3, 4], function(n) {return n > 5;}), [], 'message: <code>drop([1, 2, 3, 4], function(n) {return n > 5;})</code> should return <code>[]</code>.');",
"assert.deepEqual(drop([1, 2, 3, 7, 4], function(n) {return n > 3}), [7, 4], 'message: <code>drop([1, 2, 3, 7, 4], function(n) {return n > 3})</code> should return <code>[7, 4]</code>.');"
"assert.deepEqual(drop([1, 2, 3, 7, 4], function(n) {return n > 3}), [7, 4], 'message: <code>drop([1, 2, 3, 7, 4], function(n) {return n > 3})</code> should return <code>[7, 4]</code>.');",
"assert.deepEqual(drop([1, 2, 3, 9, 2], function(n) {return n > 2}), [3, 9, 2], 'message: <code>drop([1, 2, 3, 9, 2], function(n) {return n > 2})</code> should return <code>[3, 9, 2]</code>.');"
],
"MDNlinks": [
"Arguments object",
Expand Down

0 comments on commit 1389795

Please sign in to comment.