Skip to content

Commit f0eee63

Browse files
Roland BroekemaMylesBorins
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‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const http = require('http');
2626
constnet=require('net');
2727

2828
constserver=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)