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 <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
fraxken authored and MylesBorins committed Nov 26, 2018
1 parent 59e56f9 commit c5d74be
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 @@ -81,7 +81,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 c5d74be

Please sign in to comment.