diff --git a/test/simple/test-debugger-repl-utf8.js b/test/simple/test-debugger-repl-utf8.js index 820a53914..308f6305e 100644 --- a/test/simple/test-debugger-repl-utf8.js +++ b/test/simple/test-debugger-repl-utf8.js @@ -76,12 +76,19 @@ function addTest(input, output) { } // Initial lines -addTest(null, [ - /listening on port 5858/, - /connecting... ok/, - /break in .*:1/, - /1/, /2/, /3/ -]); +if (process.features.isolates) { + addTest(null, [ + /break in .*:1/, + /1/, /2/, /3/ + ]); +} else { + addTest(null, [ + /listening on port 5858/, + /connecting... ok/, + /break in .*:1/, + /1/, /2/, /3/ + ]); +} // Next addTest('n', [ diff --git a/test/simple/test-debugger-repl.js b/test/simple/test-debugger-repl.js index df1b14298..a81da29e5 100644 --- a/test/simple/test-debugger-repl.js +++ b/test/simple/test-debugger-repl.js @@ -81,12 +81,19 @@ function addTest(input, output) { } // Initial lines -addTest(null, [ - /listening on port 5858/, - /connecting... ok/, - /break in .*:1/, - /1/, /2/, /3/ -]); +if (process.features.isolates) { + addTest(null, [ + /break in .*:1/, + /1/, /2/, /3/ + ]); +} else { + addTest(null, [ + /listening on port 5858/, + /connecting... ok/, + /break in .*:1/, + /1/, /2/, /3/ + ]); +} // Next addTest('n', [