We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca24bcf commit af59b9dCopy full SHA for af59b9d
test/parallel/test-http-client-get-url.js
@@ -28,8 +28,8 @@ const URL = url.URL;
28
const testPath = '/foo?bar';
29
30
const server = http.createServer(common.mustCall((req, res) => {
31
- assert.strictEqual('GET', req.method);
32
- assert.strictEqual(testPath, req.url);
+ assert.strictEqual(req.method, 'GET');
+ assert.strictEqual(req.url, testPath);
33
res.writeHead(200, { 'Content-Type': 'text/plain' });
34
res.write('hello\n');
35
res.end();
0 commit comments