test: replace "inspector-cli" with "debugger"

When I moved node-inspect into core, I called a lot of things
`inspector-cli` that really should have been `debugger`. This is the
last of them to be renamed.

PR-URL: https://github.com/nodejs/node/pull/39156
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Rich Trott authored and Michaël Zasso committed 2021-07-11 09:43:54 +02:00
1 parent aafa08d7b9
commit fff21a4afb
33 files changed
+28 -28

No files matched your search

+3 -3
View File
@@ -10,7 +10,7 @@ const assert = require('assert');
// List scripts.
{
const script = fixtures.path('inspector-cli', 'three-lines.js');
const script = fixtures.path('debugger', 'three-lines.js');
const cli = startCLI([script]);
function onFatal(error) {
@@ -24,7 +24,7 @@ const assert = require('assert');
.then(() => {
assert.match(
cli.output,
/^\* \d+: \S+inspector-cli(?:\/|\\)three-lines\.js/m,
/^\* \d+: \S+debugger(?:\/|\\)three-lines\.js/m,
'lists the user script');
assert.doesNotMatch(
cli.output,
@@ -35,7 +35,7 @@ const assert = require('assert');
.then(() => {
assert.match(
cli.output,
/\* \d+: \S+inspector-cli(?:\/|\\)three-lines\.js/,
/\* \d+: \S+debugger(?:\/|\\)three-lines\.js/,
'lists the user script');
assert.match(
cli.output,