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 BridgeAR committed Nov 13, 2018
1 parent 2d87ce3 commit 9b3c2e5
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 9b3c2e5

Please sign in to comment.