Index: tests/standalone/vmservice/isolate_bad_class_test.dart |
=================================================================== |
--- tests/standalone/vmservice/isolate_bad_class_test.dart (revision 32126) |
+++ tests/standalone/vmservice/isolate_bad_class_test.dart (working copy) |
@@ -33,8 +33,7 @@ |
onRequestCompleted(Map reply) { |
IsolateListTester tester = new IsolateListTester(reply); |
tester.checkIsolateCount(1); |
- tester.checkIsolateNameContains('unknown_isolate_command_script.dart'); |
- _isolateId = reply['members'][0]['id']; |
+ _isolateId = tester.getIsolateId(0); |
} |
} |