Skip to content

Commit 1588fba

Browse files
ClementMylesBorins
Clement
authored andcommitted
test: fix argument order in assert.strictEqual()
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]>
1 parent f46fa90 commit 1588fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-chunked.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ server.listen(0, common.mustCall(() => {
4848
x.setEncoding('utf8');
4949
x.on('data', (c) => data += c);
5050
x.on('end', common.mustCall(() => {
51-
assert.strictEqual('string', typeof data);
51+
assert.strictEqual(typeof data, 'string');
5252
assert.strictEqual(UTF8_STRING, data);
5353
server.close();
5454
}));

0 commit comments

Comments
 (0)