Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: make debugger-repl tests work with isolates
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny authored and bnoordhuis committed Jan 10, 2012
1 parent 7cee968 commit 4cbcdb4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
19 changes: 13 additions & 6 deletions test/simple/test-debugger-repl-utf8.js
Expand Up @@ -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', [
Expand Down
19 changes: 13 additions & 6 deletions test/simple/test-debugger-repl.js
Expand Up @@ -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', [
Expand Down

0 comments on commit 4cbcdb4

Please sign in to comment.