Skip to content

Commit 969ae7a

Browse files
rt33targos
authored andcommitted
test: fix the arguments order in assert.strictEqual
PR-URL: #24626 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Shingo Inoue <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent a122ba5 commit 969ae7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-request-end.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const server = http.Server(function(req, res) {
3535
});
3636

3737
req.on('end', function() {
38-
assert.strictEqual(expected, result);
38+
assert.strictEqual(result, expected);
3939
server.close();
4040
res.writeHead(200);
4141
res.end('hello world\n');

0 commit comments

Comments
 (0)