Index: runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
diff --git a/runtime/observatory/tests/service/async_generator_breakpoint_test.dart b/runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
index 123edcd83c14031391320e927cd89e85e7332794..c8a33e3c25dc8d1112c09eb187de8d091cdb06b0 100644 |
--- a/runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
+++ b/runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
@@ -70,7 +70,7 @@ testAsync(Isolate isolate) async { |
}); |
await for (ServiceEvent event in isolate.vm.events.stream) { |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
var bp = event.breakpoint; |
print('Hit $bp'); |
hits.add(bp); |