Skip to content

Commit

Permalink
test: fix assertion order
Browse files Browse the repository at this point in the history
PR-URL: #23626
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
ErickWendel authored and jasnell committed Oct 17, 2018
1 parent 42f43d5 commit e7cbc3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-https-client-get-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const options = {
};

const server = https.createServer(options, common.mustCall((req, res) => {
assert.strictEqual('GET', req.method);
assert.strictEqual('/foo?bar', req.url);
assert.strictEqual(req.method, 'GET');
assert.strictEqual(req.url, '/foo?bar');
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.write('hello\n');
res.end();
Expand Down

0 comments on commit e7cbc3f

Please sign in to comment.