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 Sep 4, 2021
1 parent f467e2a commit a45bf2f
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 a45bf2f

Please sign in to comment.