Skip to content

Commit

Permalink
test: fix argument order in assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Illescas, Ricardo committed Oct 12, 2018
1 parent d3d6cd3 commit 7a28070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-net-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ echo_server.listen(common.PORT, function() {
});

client.on('data', function(chunk) {
assert.strictEqual('hello\r\n', chunk);
assert.strictEqual(chunk, 'hello\r\n');
if (exchanges++ < 5) {
setTimeout(function() {
console.log('client write "hello"');
Expand Down

0 comments on commit 7a28070

Please sign in to comment.