Index: runtime/observatory/tests/service/steal_breakpoint_test.dart |
diff --git a/runtime/observatory/tests/service/steal_breakpoint_test.dart b/runtime/observatory/tests/service/steal_breakpoint_test.dart |
index 702bf93318d08733d773c91bb21b65a8f3ddeacb..5efc7de52127d35dc517815b342e0f13caf35fba 100644 |
--- a/runtime/observatory/tests/service/steal_breakpoint_test.dart |
+++ b/runtime/observatory/tests/service/steal_breakpoint_test.dart |
@@ -31,7 +31,7 @@ var tests = [ |
Completer completer = new Completer(); |
var subscription; |
subscription = isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
print('Isolate paused at breakpoint'); |
subscription.cancel(); |
completer.complete(); |
@@ -63,7 +63,7 @@ var tests = [ |
Completer completer = new Completer(); |
var subscription; |
subscription = isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == ServiceEvent.kResume) { |
+ if (event.kind == ServiceEvent.kResume) { |
print('Isolate resumed'); |
subscription.cancel(); |
completer.complete(); |