Skip to content

Commit

Permalink
Fix tests on Node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed Jul 18, 2020
1 parent 46a5002 commit e449fa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_http2.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ require('./test_comms')(
},
function (conn, cb)
{
conn.on('end', cb);
conn.on('close', cb);
conn.end();
},
Buffer,
Expand Down
2 changes: 1 addition & 1 deletion test/test_tcp.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function setup(aho)
},
function (conn, cb)
{
conn.on('end', cb);
conn.on('close', cb);
conn.end();
},
Buffer,
Expand Down

0 comments on commit e449fa6

Please sign in to comment.