test: fix linting error

Fast-tracked on landing to unbreak CI

PR-URL: https://github.com/nodejs/node/pull/17251
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
James M Snell 2017-11-22 07:41:30 -08:00
parent 685abcde0e
commit cf5ad75bc4

View File

@ -67,6 +67,6 @@ const test = common.mustCall(function(res) {
res.on('data', function(chunk) {
bytes += chunk.length;
this.pause();
setTimeout(() => { this.resume() }, 1);
setTimeout(() => { this.resume(); }, 1);
});
});