Skip to content

Commit

Permalink
test: net eaddrinuse, change arguments order in strictEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Isache committed Nov 6, 2018
1 parent bec505b commit 97aeb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-eaddrinuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const server2 = net.createServer(function(socket) {
});
server1.listen(0, function() {
server2.on('error', function(error) {
assert.strictEqual(true, error.message.includes('EADDRINUSE'));
assert.strictEqual(error.message.includes('EADDRINUSE'), true);
server1.close();
});
server2.listen(this.address().port);
Expand Down

0 comments on commit 97aeb47

Please sign in to comment.