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 <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>
  • Loading branch information
Roland Broekema authored and Trott committed Nov 8, 2018
1 parent d3a4812 commit 3637be8
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 3637be8

Please sign in to comment.