Index: runtime/observatory/test/source_location_test.dart |
diff --git a/runtime/observatory/test/source_location_test.dart b/runtime/observatory/test/source_location_test.dart |
index 5c24d3261ee21d1bae2e88116243ff5b70676c26..0cdd07cd335857dd38a257808a6d4c1f0592945d 100644 |
--- a/runtime/observatory/test/source_location_test.dart |
+++ b/runtime/observatory/test/source_location_test.dart |
@@ -54,7 +54,7 @@ var tests = [ |
// Listen for breakpoint event. |
Completer completer = new Completer(); |
isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == 'BreakpointReached') { |
+ if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
completer.complete(); |
} |
}); |