Skip to content

Commit a45bf2f

Browse files
Trotttargos
authored andcommitted
test: use common.PORT instead of hardcoded port number
PR-URL: #39298 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f467e2a commit a45bf2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-debugger-invalid-args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const { createServer } = require('net');
2121

2222
// Launch w/ invalid host:port.
2323
{
24-
const cli = startCLI(['localhost:914']);
24+
const cli = startCLI([`localhost:${common.PORT}`]);
2525
cli.quit()
2626
.then((code) => {
2727
assert.match(

0 commit comments

Comments
 (0)