Permalink
Browse files

test setting pipeOpts.chunkSize in pipe()

  • Loading branch information...
isaacs committed Oct 2, 2012
1 parent 642f097 commit 0f09dc84332f2451a8b7c00da453fce509f73e1e
Showing with 5 additions and 2 deletions.
  1. +5 −2 test/fs.js
View
@@ -43,9 +43,12 @@ test('fs test', function(t) {
console.error(res, w.length);
t.equal(w.length, size);
var l = 0;
- t.same(res.map(function (c) { return c.length; }), expectLengths);
+ t.same(res.map(function (c) {
+ return c.length;
+ }), expectLengths);
t.end();
});
- r.pipe(w);
+ r.pipe(w, { chunkSize: 10 });
+
});

0 comments on commit 0f09dc8

Please sign in to comment.