Index: runtime/observatory/tests/service/code_test.dart |
diff --git a/runtime/observatory/tests/service/code_test.dart b/runtime/observatory/tests/service/code_test.dart |
index 99c5f16abd53bf16e25b0b0d55b332b650cffab2..6b74b392b030e511242b95c5939961ece29292bc 100644 |
--- a/runtime/observatory/tests/service/code_test.dart |
+++ b/runtime/observatory/tests/service/code_test.dart |
@@ -35,7 +35,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(); |
} |