test: switch assertEqual arguments

PR-URL: https://github.com/nodejs/node/pull/27912
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
pull/27912/head
Evgenii Shchepotev 2019-05-26 18:11:56 +03:00 committed by Сковорода Никита Андреевич
parent 42d80113bb
commit b8106077b7
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ var options = {
};
var req = https.request(options, function(res) {
assert.strictEqual(200, res.statusCode);
assert.strictEqual(res.statusCode, 200);
gotResponse = true;
console.error('DONE');
res.resume();