Skip to content

Commit

Permalink
test: fix assert parameter order
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Roland Broekema authored and BridgeAR committed Nov 13, 2018
1 parent d85161c commit 737f897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http-blank-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 737f897

Please sign in to comment.