Skip to content

Commit 9acc0d6

Browse files
committed
test/sequential: Test improved
1 parent a5c3e00 commit 9acc0d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/sequential/test-http-OutgoingMessage-ContentLength.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ const http = require('http');
1010
const server = http.createServer(common.mustCall((req, res) => {
1111
res.writeHead(200, {
1212
'Content-Type': 'text/plain',
13-
'Content-Length': 2
13+
'Content-Length': 120
1414
});
15-
res.end('done');
15+
res.write('Lorem ipsum dolor sit amet,');
16+
res.write(' consectetur elit. ')
17+
res.end('Quisque blandit orci ligula, ullamcorper elementum sem egestas.');
1618
}));
1719
server.listen(0, () => {
1820
http.get({

0 commit comments

Comments
 (0)