Skip to content

Commit 0f98c49

Browse files
fraxkenrvagg
authored andcommitted
test: fix strictEqual() arguments order
PR-URL: #23771 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 73d19b1 commit 0f98c49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http-parser-bad-ref.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ demoBug('POST /1/22 HTTP/1.1\r\n' +
8181
'pong');
8282

8383
process.on('exit', function() {
84-
assert.strictEqual(2, headersComplete);
85-
assert.strictEqual(2, messagesComplete);
84+
assert.strictEqual(headersComplete, 2);
85+
assert.strictEqual(messagesComplete, 2);
8686
console.log('done!');
8787
});

0 commit comments

Comments
 (0)