Skip to content

Commit

Permalink
test: use common.PORT instead of hardcoded port number
Browse files Browse the repository at this point in the history
PR-URL: #39298
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and targos committed Jul 11, 2021
1 parent 11a8b81 commit 0ec93a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-invalid-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { createServer } = require('net');

// Launch w/ invalid host:port.
{
const cli = startCLI(['localhost:914']);
const cli = startCLI([`localhost:${common.PORT}`]);
cli.quit()
.then((code) => {
assert.match(
Expand Down

0 comments on commit 0ec93a1

Please sign in to comment.