Index: runtime/observatory/test/code_test.dart |
diff --git a/runtime/observatory/test/code_test.dart b/runtime/observatory/test/code_test.dart |
index c12b6f37115d8497305f541f9cb13ea0c9fd5c2e..16806eec06834806e07c978e9625e4d2591da562 100644 |
--- a/runtime/observatory/test/code_test.dart |
+++ b/runtime/observatory/test/code_test.dart |
@@ -35,7 +35,7 @@ var tests = [ |
Completer completer = new Completer(); |
List events = []; |
isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == 'BreakpointReached') { |
+ if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
print('Breakpoint reached'); |
completer.complete(); |
} |