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 // Initial lines
addTest(null, [ if (process.features.isolates) {
/listening on port 5858/, addTest(null, [
/connecting... ok/, /break in .*:1/,
/break in .*:1/, /1/, /2/, /3/
/1/, /2/, /3/ ]);
]); } else {
addTest(null, [
/listening on port 5858/,
/connecting... ok/,
/break in .*:1/,
/1/, /2/, /3/
]);
}
// Next // Next
addTest('n', [ addTest('n', [

19
test/simple/test-debugger-repl.js

@ -81,12 +81,19 @@ function addTest(input, output) {
} }
// Initial lines // Initial lines
addTest(null, [ if (process.features.isolates) {
/listening on port 5858/, addTest(null, [
/connecting... ok/, /break in .*:1/,
/break in .*:1/, /1/, /2/, /3/
/1/, /2/, /3/ ]);
]); } else {
addTest(null, [
/listening on port 5858/,
/connecting... ok/,
/break in .*:1/,
/1/, /2/, /3/
]);
}
// Next // Next
addTest('n', [ addTest('n', [

Loading…
Cancel
Save