Browse Source

test: remove non-incremental common.PORT changes

Remove uses of `common.PORT + 1337` where `common.PORT` suffices.

PR-URL: https://github.com/nodejs/node/pull/7055
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Refs: https://github.com/nodejs/node/pull/6990
v4.x
Rich Trott 9 years ago
committed by Myles Borins
parent
commit
5b1f54678b
  1. 2
      test/debugger/helper-debugger-repl.js
  2. 2
      test/debugger/test-debugger-client.js

2
test/debugger/helper-debugger-repl.js

@ -4,7 +4,7 @@ var common = require('../common');
var assert = require('assert'); var assert = require('assert');
var spawn = require('child_process').spawn; var spawn = require('child_process').spawn;
var port = common.PORT + 1337; var port = common.PORT;
var child; var child;
var buffer = ''; var buffer = '';

2
test/debugger/test-debugger-client.js

@ -4,7 +4,7 @@ var common = require('../common');
var assert = require('assert'); var assert = require('assert');
var debug = require('_debugger'); var debug = require('_debugger');
var debugPort = common.PORT + 1337; var debugPort = common.PORT;
debug.port = debugPort; debug.port = debugPort;
var spawn = require('child_process').spawn; var spawn = require('child_process').spawn;

Loading…
Cancel
Save