Skip to content

Commit

Permalink
test: fix argument order in assert.strictEqual()
Browse files Browse the repository at this point in the history
PR-URL: #24147
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
Clement authored and MylesBorins committed Dec 26, 2018
1 parent f46fa90 commit 1588fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-chunked.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ server.listen(0, common.mustCall(() => {
x.setEncoding('utf8');
x.on('data', (c) => data += c);
x.on('end', common.mustCall(() => {
assert.strictEqual('string', typeof data);
assert.strictEqual(typeof data, 'string');
assert.strictEqual(UTF8_STRING, data);
server.close();
}));
Expand Down

0 comments on commit 1588fba

Please sign in to comment.