summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/debug-scripts-request.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/debug-scripts-request.js')
-rw-r--r--deps/v8/test/mjsunit/debug-scripts-request.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/deps/v8/test/mjsunit/debug-scripts-request.js b/deps/v8/test/mjsunit/debug-scripts-request.js
index e027563b9b..faa732e141 100644
--- a/deps/v8/test/mjsunit/debug-scripts-request.js
+++ b/deps/v8/test/mjsunit/debug-scripts-request.js
@@ -78,10 +78,8 @@ function listener(event, exec_state, event_data, data) {
var response = safeEval(dcp.processDebugJSONRequest(request));
assertTrue(response.success);
- // Test filtering by id. We have to get at least one script back, but
- // the exact number depends on the timing of GC.
- assertTrue(response.body.length >= 1);
-
+ // Test filtering by id.
+ assertEquals(2, response.body.length);
var script = response.body[0];
var request = '{' + base_request + ',"arguments":{"ids":[' +
script.id + ']}}';