Skip to content

Commit 7d0f50c

Browse files
mdaumjasnell
authored andcommitted
test: fix incorrect ordering of args in assert.strictEqual()
PR-URL: #23461 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent 09a6644 commit 7d0f50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http-upgrade-server2.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ server.on('upgrade', function(req, socket, upgradeHead) {
3636
});
3737

3838
process.on('uncaughtException', common.mustCall(function(e) {
39-
assert.strictEqual('upgrade error', e.message);
39+
assert.strictEqual(e.message, 'upgrade error');
4040
process.exit(0);
4141
}));
4242

0 commit comments

Comments
 (0)