mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: use common.PORT instead of hardcoded port number
PR-URL: https://github.com/nodejs/node/pull/39298 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
f467e2a0c5
commit
a45bf2f1a0
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user