mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
test: make debugger-repl tests work with isolates
This commit is contained in:
committed by
Ben Noordhuis
parent
7cee968c21
commit
4cbcdb4b2c
@@ -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', [
|
||||
|
||||
@@ -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', [
|
||||
|
||||
Reference in New Issue
Block a user