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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
ErickWendel authored and MylesBorins committed Oct 30, 2018
1 parent 4874ce2 commit 64268d0
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 64268d0

Please sign in to comment.