Skip to content

Commit 64fd19f

Browse files
mroderickMylesBorins
authored andcommitted
test: fix invalid argument order in test-http-expect-continue.js
`assert.strictEqual` expects arguments in the following order: actual, expected[, message] PR-URL: #24138 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 2d88af3 commit 64fd19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-expect-continue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ server.on('listening', common.mustCall(() => {
6767
}));
6868
req.on('response', common.mustCall((res) => {
6969
assert.ok(got_continue, 'Full response received before 100 Continue');
70-
assert.strictEqual(200, res.statusCode,
70+
assert.strictEqual(res.statusCode, 200,
7171
`Final status code was ${res.statusCode}, not 200.`);
7272
res.setEncoding('utf8');
7373
res.on('data', function(chunk) { body += chunk; });

0 commit comments

Comments
 (0)