Sitelet https://github.com/nodejs/node/pull/1467/commits/ff88a4ff45b78ee5d74d783332f736acdee86427
Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
!fixup fix test's localhost for FreeBSD runs
  • Loading branch information
brendanashworth committed Apr 18, 2015
commit ff88a4ff45b78ee5d74d783332f736acdee86427
4 changes: 2 additions & 2 deletions test/parallel/test-http-dont-override-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ agent.defaultPort = common.PORT;
// be mutable / modified
var options = {
host: undefined,
hostname: 'localhost',
hostname: common.localhostIPv4,
port: undefined,
defaultPort: undefined,
path: undefined,
Expand All @@ -37,7 +37,7 @@ process.on('exit', function() {
assert.equal(requests, 1);

assert.strictEqual(options.host, undefined);
assert.strictEqual(options.hostname, 'localhost');
assert.strictEqual(options.hostname, common.localhostIPv4);
assert.strictEqual(options.port, undefined);
assert.strictEqual(options.defaultPort, undefined);
assert.strictEqual(options.path, undefined);
Expand Down