commit 161d30df8da2339418e1ee5ef1d9ad502ed5dcbb Author: Tom Hughes Date: Thu Jul 24 19:28:39 2014 +0100 Update to a more recent version of concat-stream diff --git a/package.json b/package.json index 22c84b6..9445f20 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "devDependencies": { "tap": "~0.4.0", "tape": "~1.0.2", - "concat-stream": "~0.1.1" + "concat-stream": "~1.4.4" }, "scripts": { "test": "tap test/*.js" diff --git a/test/resume.js b/test/resume.js index 1eaecac..c36a602 100644 --- a/test/resume.js +++ b/test/resume.js @@ -6,7 +6,7 @@ test('implicit resume', function (t) { t.plan(1); var s = createStream(); - s.pipe(concat(function (err, body) { + s.pipe(concat(function (body) { t.equal(body, 'beep boop\n'); })); }); @@ -23,7 +23,7 @@ test('pause/resume', function (t) { s.resume(); }, 100); - s.pipe(concat(function (err, body) { + s.pipe(concat(function (body) { t.equal(paused, false); t.equal(body, 'beep boop\n'); })); diff --git a/test/through.js b/test/through.js index ddcaf48..f9981fa 100644 --- a/test/through.js +++ b/test/through.js @@ -11,7 +11,7 @@ test('through write/end', function (t) { t.ok(true); }); - s.pipe(concat(function (err, body) { + s.pipe(concat(function (body) { t.equal(body, 'BEGIN\nRAWR\nEND\n'); }));