Skip to content

Commit

Permalink
test: fix argument order in assertions
Browse files Browse the repository at this point in the history
PR-URL: #23506
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Illescas, Ricardo authored and MylesBorins committed Oct 30, 2018
1 parent 119fc3a commit d590aa8
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 d590aa8

Please sign in to comment.