10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
There was 8000 an error while loading. Please reload this page.
1 parent 78db43c commit 68ef265Copy full SHA for 68ef265
test/parallel/test-http-write-head-2.js
@@ -29,7 +29,7 @@ const http = require('http');
29
res.end();
30
}));
31
32
- server.listen(0, common.mustCall(function() {
+ server.listen(0, common.mustCall(() => {
33
http.get({ port: server.address().port }, common.mustCall((res) => {
34
assert.strictEqual(res.headers.test, '1');
35
assert.strictEqual(res.headers.test2, '2');
@@ -51,7 +51,7 @@ const http = require('http');
51
52
53
54
55
56
res.resume().on('end', common.mustCall(() => {
57
server.close();
0 commit comments