Skip to content

Commit 5e4b37f

Browse files
Illescas, RicardoBridgeAR
Illescas, Ricardo
authored andcommitted
test: fix argument order in assertions
PR-URL: nodejs#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>
1 parent c205e8c commit 5e4b37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)