Permalink
Browse files

Fixed test

  • Loading branch information...
1 parent a8b2e48 commit 6682f3095b0c31d10690cdb12629c0687af04b0c @asgoth asgoth committed Mar 14, 2016
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/control-flow.test.js
@@ -14,7 +14,8 @@ describe('match', function() {
function(obj) { return obj % 2 == 0; },
pi.toArray(twos),
function(obj) { return obj % 3 == 0; },
- pi.toArray(threes)
+ pi.toArray(threes),
+ pi.devnull()
);
assert.ok(isWritable(result));
@@ -33,7 +34,8 @@ describe('match', function() {
var twos = [],
result = pi.match(
function(obj) { return obj % 2 == 0; },
- pi.toArray(twos)
+ pi.toArray(twos),
+ pi.devnull()
);
assert.ok(isWritable(result));

0 comments on commit 6682f30

Please sign in to comment.