mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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>
This commit is contained in:
parent
42d80113bb
commit
b8106077b7
1 changed files with 1 additions and 1 deletions
2
test/fixtures/GH-892-request.js
vendored
2
test/fixtures/GH-892-request.js
vendored
|
@ -37,7 +37,7 @@ var options = {
|
||||||
};
|
};
|
||||||
|
|
||||||
var req = https.request(options, function(res) {
|
var req = https.request(options, function(res) {
|
||||||
assert.strictEqual(200, res.statusCode);
|
assert.strictEqual(res.statusCode, 200);
|
||||||
gotResponse = true;
|
gotResponse = true;
|
||||||
console.error('DONE');
|
console.error('DONE');
|
||||||
res.resume();
|
res.resume();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue