Skip to content

Commit

Permalink
test: close => destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Oct 15, 2019
1 parent 6eb2e16 commit b6f356d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/core/functional/server_tests.js
Expand Up @@ -1008,7 +1008,7 @@ describe('Server tests', function() {
err = e;
}

client.close(err2 => done(err || err2));
client.destroy(err2 => done(err || err2));
});

client.on('connect', () => {
Expand Down

0 comments on commit b6f356d

Please sign in to comment.