Skip to content

Commit e20db59

Browse files
committed
remove redundant test
1 parent fe4a1a3 commit e20db59

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

test/parallel/test-http-early-hints-invalid-argument.js

-21
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,3 @@ const testResBody = 'response content\n';
4747
req.on('information', common.mustNotCall());
4848
}));
4949
}
50-
51-
{
52-
const server = http.createServer(common.mustCall((req, res) => {
53-
debug('Server sending early hints...');
54-
55-
debug('Server sending full response...');
56-
res.end(testResBody);
57-
server.close();
58-
}));
59-
60-
server.listen(0, common.mustCall(() => {
61-
const req = http.request({
62-
port: server.address().port, path: '/'
63-
});
64-
65-
req.end();
66-
debug('Client sending request...');
67-
68-
req.on('information', common.mustNotCall());
69-
}));
70-
}

0 commit comments

Comments
 (0)