Skip to content

Commit

Permalink
test: fix incorrect ordering of args in assert.strictEqual()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mdaum authored and MylesBorins committed Oct 30, 2018
1 parent 8766d27 commit eac6ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-http-upgrade-server2.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ server.on('upgrade', function(req, socket, upgradeHead) {
});

process.on('uncaughtException', common.mustCall(function(e) {
assert.strictEqual('upgrade error', e.message);
assert.strictEqual(e.message, 'upgrade error');
process.exit(0);
}));

Expand Down

0 comments on commit eac6ba9

Please sign in to comment.