Projects
Mega:24.03:SP1:Everything
nodejs-resumer
_service:tar_scm:nodejs-resumer-concat-stream.p...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-resumer-concat-stream.patch of Package nodejs-resumer
commit 161d30df8da2339418e1ee5ef1d9ad502ed5dcbb Author: Tom Hughes <tom@compton.nu> 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'); }));
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2