diff --git a/lib/internal/inspector/inspect_repl.js b/lib/internal/inspector/inspect_repl.js index a9daa88c30d435..5e10dad2e147fd 100644 --- a/lib/internal/inspector/inspect_repl.js +++ b/lib/internal/inspector/inspect_repl.js @@ -1008,7 +1008,7 @@ function createRepl(inspector) { repl.setPrompt('> '); - print('Press Ctrl + C to leave debug repl'); + print('Press Ctrl+C to leave debug repl'); repl.displayPrompt(); }, @@ -1080,7 +1080,7 @@ function createRepl(inspector) { repl.on('reset', initializeContext); repl.defineCommand('interrupt', () => { - // We want this for testing purposes where sending CTRL-C can be tricky. + // We want this for testing purposes where sending Ctrl+C can be tricky. repl.emit('SIGINT'); }); diff --git a/test/sequential/test-debugger-exec.js b/test/sequential/test-debugger-exec.js index 15e7e212cf2466..f47eaaa5a6f62d 100644 --- a/test/sequential/test-debugger-exec.js +++ b/test/sequential/test-debugger-exec.js @@ -31,7 +31,7 @@ const assert = require('assert'); .then(() => { assert.match( cli.output, - /Press Ctrl \+ C to leave debug repl\n+> /, + /Press Ctrl\+C to leave debug repl\n+> /, 'shows hint for how to leave repl'); assert.doesNotMatch(cli.output, /debug>/, 'changes the repl style'); })