test: fix assert parameter order

Switched arguments in assert.strictEqual()

PR-URL: https://github.com/nodejs/node/pull/24144
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Roland Broekema 2018-11-06 15:47:53 +01:00 committed by Rich Trott
parent d3a4812cb7
commit 3637be8064

View File

@ -26,8 +26,8 @@ const http = require('http');
const net = require('net');
const server = http.createServer(common.mustCall((req, res) => {
assert.strictEqual('GET', req.method);
assert.strictEqual('/blah', req.url);
assert.strictEqual(req.method, 'GET');
assert.strictEqual(req.url, '/blah');
assert.deepStrictEqual({
host: 'example.org:443',
origin: 'http://example.org',