diff options
Diffstat (limited to 'deps/node-inspect/test/cli/preserve-breaks.test.js')
-rw-r--r-- | deps/node-inspect/test/cli/preserve-breaks.test.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/node-inspect/test/cli/preserve-breaks.test.js b/deps/node-inspect/test/cli/preserve-breaks.test.js index 94f61408d9..affa3ad975 100644 --- a/deps/node-inspect/test/cli/preserve-breaks.test.js +++ b/deps/node-inspect/test/cli/preserve-breaks.test.js @@ -30,20 +30,20 @@ test('run after quit / restart', (t) => { .then(() => cli.stepCommand('c')) // hit line 2 .then(() => cli.stepCommand('c')) // hit line 3 .then(() => { - t.match(cli.output, `break in ${script}:3`); + t.match(cli.breakInfo, { filename: script, line: 3 }); }) .then(() => cli.command('restart')) .then(() => cli.waitForInitialBreak()) .then(() => { - t.match(cli.output, `break in ${script}:1`); + t.match(cli.breakInfo, { filename: script, line: 1 }); }) .then(() => cli.stepCommand('c')) .then(() => { - t.match(cli.output, `break in ${script}:2`); + t.match(cli.breakInfo, { filename: script, line: 2 }); }) .then(() => cli.stepCommand('c')) .then(() => { - t.match(cli.output, `break in ${script}:3`); + t.match(cli.breakInfo, { filename: script, line: 3 }); }) .then(() => cli.command('breakpoints')) .then(() => { |