Skip to content

Commit 0b5a451

Browse files
authored
try to fix windows failure (#2950)
Refs: #2949
1 parent 94598c2 commit 0b5a451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/client-request.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ test('request dump big', async (t) => {
2222
while (res.write('asd')) {
2323
// Do nothing...
2424
}
25-
res.on('drain', () => t.fail())
2625
})
2726
after(() => server.close())
2827

@@ -39,6 +38,7 @@ test('request dump big', async (t) => {
3938
method: 'GET'
4039
}, (err, { body }) => {
4140
t.ifError(err)
41+
body.on('data', () => t.fail())
4242
body.dump().then(() => {
4343
dumped = true
4444
t.ok(true, 'pass')

0 commit comments

Comments
 (0)