Skip to content

Commit 133cc2c

Browse files
committed
fixup: lint
1 parent 4188695 commit 133cc2c

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

test/parallel/test-stream-finished.js

+13-10
Original file line numberDiff line numberDiff line change
@@ -645,15 +645,18 @@ testClosed((opts) => new Writable({ write() {}, ...opts }));
645645
}
646646

647647
{
648-
const server = http.createServer(common.mustCall(function (req, res) {
649-
fs.createReadStream(__filename).pipe(res)
650-
finished(res, common.mustCall(function (err) {
648+
const server = http.createServer(common.mustCall(function(req, res) {
649+
fs.createReadStream(__filename).pipe(res);
650+
finished(res, common.mustCall(function(err) {
651651
assert.strictEqual(err, undefined);
652-
}))
653-
})).listen(0, function () {
654-
http.request({ method: 'GET', port: this.address().port }, common.mustCall(function (res) {
655-
res.resume()
656-
server.close()
657-
})).end()
658-
})
652+
}));
653+
})).listen(0, function() {
654+
http.request(
655+
{ method: 'GET', port: this.address().port },
656+
common.mustCall(function(res) {
657+
res.resume();
658+
server.close();
659+
})
660+
).end();
661+
});
659662
}

0 commit comments

Comments
 (0)