Index: runtime/observatory/tests/service/coverage_test.dart |
diff --git a/runtime/observatory/tests/service/coverage_test.dart b/runtime/observatory/tests/service/coverage_test.dart |
index 9a4fc590b8f8c0f1a005ca9e6e1d16afb2d786ec..1f75644e68901dd32f7d05c874a7d73a10cacb50 100644 |
--- a/runtime/observatory/tests/service/coverage_test.dart |
+++ b/runtime/observatory/tests/service/coverage_test.dart |
@@ -58,7 +58,7 @@ var tests = [ |
// Set up a listener to wait for breakpoint events. |
Completer completer = new Completer(); |
isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
print('Breakpoint reached'); |
completer.complete(); |
} |