Browse Source

test: make debugger-repl tests work with isolates

v0.7.4-release
Fedor Indutny 13 years ago
committed by Ben Noordhuis
parent
commit
4cbcdb4b2c
  1. 19
      test/simple/test-debugger-repl-utf8.js
  2. 19
      test/simple/test-debugger-repl.js

19
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', [

19
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', [

Loading…
Cancel
Save