Skip to content

Commit 0ec93a1

Browse files
Trotttargos
authored andcommitted
test: use common.PORT instead of hardcoded port number
PR-URL: #39298 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 11a8b81 commit 0ec93a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/sequential/test-debugger-invalid-args.js

+1-1
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)