diff options
author | Alexey Kozyatinskiy <kozyatinskiy@chromium.org> | 2018-05-11 13:47:45 -0700 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-09-07 21:07:52 +0200 |
commit | 19984ad7bb96b300037c90059d231e4b6cba5bd1 (patch) | |
tree | 304953dc947f91e5872f46cee89b71e0300166b8 /test/sequential/test-inspector-break-e.js | |
parent | e6cdf24bb52c8d362bfb6a258a65e9be2d670d94 (diff) | |
download | android-node-v8-19984ad7bb96b300037c90059d231e4b6cba5bd1.tar.gz android-node-v8-19984ad7bb96b300037c90059d231e4b6cba5bd1.tar.bz2 android-node-v8-19984ad7bb96b300037c90059d231e4b6cba5bd1.zip |
test: fix inspector tests after V8 upgrade
V8 improved break locations for the node --inspect-brk -e case.
PR-URL: https://github.com/nodejs/node/pull/21983
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'test/sequential/test-inspector-break-e.js')
-rw-r--r-- | test/sequential/test-inspector-break-e.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/sequential/test-inspector-break-e.js b/test/sequential/test-inspector-break-e.js index 567ef7911c..d988c11874 100644 --- a/test/sequential/test-inspector-break-e.js +++ b/test/sequential/test-inspector-break-e.js @@ -1,7 +1,6 @@ // Flags: --expose-internals 'use strict'; const common = require('../common'); - common.skipIfInspectorDisabled(); const assert = require('assert'); @@ -15,7 +14,7 @@ async function runTests() { { 'method': 'Debugger.enable' }, { 'method': 'Runtime.runIfWaitingForDebugger' } ]); - await session.waitForBreakOnLine(0, '[eval]'); + await session.waitForBreakOnLine(2, '[eval]'); await session.runToCompletion(); assert.strictEqual(0, (await instance.expectShutdown()).exitCode); } |