diff options
author | Jan Krems <jan.krems@groupon.com> | 2017-04-04 09:47:43 -0700 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-04-14 23:48:05 +0200 |
commit | 021719738eb8bc86356e23fe3902d2900a878fd6 (patch) | |
tree | d5398ccba2c9149cc700d470444534c66e82a25d /deps/node-inspect/test/cli/scripts.test.js | |
parent | 7fd2923f1fcce9a782d450f01ad414589030c596 (diff) | |
download | android-node-v8-021719738eb8bc86356e23fe3902d2900a878fd6.tar.gz android-node-v8-021719738eb8bc86356e23fe3902d2900a878fd6.tar.bz2 android-node-v8-021719738eb8bc86356e23fe3902d2900a878fd6.zip |
deps: update node-inspect to v1.11.2
PR-URL: https://github.com/nodejs/node/pull/12363
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Diffstat (limited to 'deps/node-inspect/test/cli/scripts.test.js')
-rw-r--r-- | deps/node-inspect/test/cli/scripts.test.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/node-inspect/test/cli/scripts.test.js b/deps/node-inspect/test/cli/scripts.test.js index cd26411790..1546b8045b 100644 --- a/deps/node-inspect/test/cli/scripts.test.js +++ b/deps/node-inspect/test/cli/scripts.test.js @@ -6,7 +6,7 @@ const { test } = require('tap'); const startCLI = require('./start-cli'); test('list scripts', (t) => { - const script = Path.join('examples', 'empty.js'); + const script = Path.join('examples', 'three-lines.js'); const cli = startCLI([script]); function onFatal(error) { @@ -14,13 +14,13 @@ test('list scripts', (t) => { throw error; } - return cli.waitFor(/break/) + return cli.waitForInitialBreak() .then(() => cli.waitForPrompt()) .then(() => cli.command('scripts')) .then(() => { t.match( cli.output, - /^\* \d+: examples(?:\/|\\)empty\.js/, + /^\* \d+: examples(?:\/|\\)three-lines\.js/, 'lists the user script'); t.notMatch( cli.output, @@ -31,7 +31,7 @@ test('list scripts', (t) => { .then(() => { t.match( cli.output, - /\* \d+: examples(?:\/|\\)empty\.js/, + /\* \d+: examples(?:\/|\\)three-lines\.js/, 'lists the user script'); t.match( cli.output, |