From debdc1dbb6851a0c341d58efe50d34a79807278a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 7 Jul 2021 09:45:04 -0700 Subject: [PATCH] test: use common.PORT instead of hardcoded port number PR-URL: https://github.com/nodejs/node/pull/39298 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- test/sequential/test-debugger-invalid-args.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-debugger-invalid-args.js b/test/sequential/test-debugger-invalid-args.js index 05c27b4a0ee20e..5275d2b1dac9bd 100644 --- a/test/sequential/test-debugger-invalid-args.js +++ b/test/sequential/test-debugger-invalid-args.js @@ -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(