Skip to content

Commit f0eee63

Browse files
Roland BroekemaMylesBorins
Roland Broekema
authored andcommitted
test: fix assert parameter order
Switched arguments in assert.strictEqual() PR-URL: #24144 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 78a3201 commit f0eee63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http-blank-header.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const http = require('http');
2626
const net = require('net');
2727

2828
const server = http.createServer(common.mustCall((req, res) => {
29-
assert.strictEqual('GET', req.method);
30-
assert.strictEqual('/blah', req.url);
29+
assert.strictEqual(req.method, 'GET');
30+
assert.strictEqual(req.url, '/blah');
3131
assert.deepStrictEqual({
3232
host: 'example.org:443',
3333
origin: 'http://example.org',

0 commit comments

Comments
 (0)