Skip to content

Commit c70118f

Browse files
committed
fixup! test: ensure assertions are reached on HTTP tests
1 parent a67d942 commit c70118f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/parallel/test-http-highwatermark.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22
const common = require('../common');
3-
const assert = require('assert');
43
const net = require('net');
54
const http = require('http');
65

@@ -9,8 +8,6 @@ const http = require('http');
98
// to be paused and res.write would be failed.
109
// And it should be resumed when outgoingData falls below highWaterMark.
1110

12-
let requestReceived = 0;
13-
1411
const server = http.createServer(common.mustNotCall()).on('listening', () => {
1512
const c = net.createConnection(server.address().port, () => {
1613
c.write('GET / HTTP/1.1\r\n\r\n');

0 commit comments

Comments
 (0)