Skip to content

Commit 345974a

Browse files
Illescas, Ricardojasnell
Illescas, Ricardo
authored andcommitted
test: fix argument order in assertions
PR-URL: #23506 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 8cc52b0 commit 345974a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/pummel/test-net-timeout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ echo_server.listen(common.PORT, function() {
6666
});
6767

6868
client.on('data', function(chunk) {
69-
assert.strictEqual('hello\r\n', chunk);
69+
assert.strictEqual(chunk, 'hello\r\n');
7070
if (exchanges++ < 5) {
7171
setTimeout(function() {
7272
console.log('client write "hello"');

0 commit comments

Comments
 (0)