Index: tests/standalone/vmservice/unknown_isolate_command_test.dart |
=================================================================== |
--- tests/standalone/vmservice/unknown_isolate_command_test.dart (revision 32126) |
+++ tests/standalone/vmservice/unknown_isolate_command_test.dart (working copy) |
@@ -24,8 +24,7 @@ |
onRequestCompleted(Map reply) { |
IsolateListTester tester = new IsolateListTester(reply); |
tester.checkIsolateCount(1); |
- tester.checkIsolateNameContains('field_script.dart'); |
- _isolateId = tester.checkIsolateNameContains('field_script'); |
+ _isolateId = tester.getIsolateId(0); |
} |
} |