Skip to content

Commit

Permalink
test: fix strictEqual() arguments order
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
fraxken authored and targos committed Oct 24, 2018
1 parent 4112a10 commit a666d3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http-parser-bad-ref.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ demoBug('POST /1/22 HTTP/1.1\r\n' +
'pong');

process.on('exit', function() {
assert.strictEqual(2, headersComplete);
assert.strictEqual(2, messagesComplete);
assert.strictEqual(headersComplete, 2);
assert.strictEqual(messagesComplete, 2);
console.log('done!');
});

0 comments on commit a666d3e

Please sign in to comment.