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 rvagg committed Nov 28, 2018
1 parent 73d19b1 commit 0f98c49
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 0f98c49

Please sign in to comment.