Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix assert parameter order
Switched arguments in assert.strictEqual()
  • Loading branch information
Roland Broekema committed Nov 6, 2018
commit 9cd5d8ca514ed2d6bde17c08df9c058700eb813e
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