Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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');
Copy link

@rodrigooler rodrigooler Oct 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job! @ErickWendel

assert.strictEqual(req.url, '/foo?bar');
res.writeHead(200, { 'Content-Type': 'text/plain' });
res.write('hello\n');
res.end();
Expand Down