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 danbev committed Oct 23, 2018
1 parent bff53c5 commit a1ee86c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http-parser-bad-ref.js
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 a1ee86c

Please sign in to comment.