Index: runtime/observatory/tests/service/eval_test.dart |
diff --git a/runtime/observatory/tests/service/eval_test.dart b/runtime/observatory/tests/service/eval_test.dart |
index 04f3ee480157fe09df2bcfad3d4f778d48ca249b..2e238981fed60672cf91919517d62554696360fc 100644 |
--- a/runtime/observatory/tests/service/eval_test.dart |
+++ b/runtime/observatory/tests/service/eval_test.dart |
@@ -34,7 +34,7 @@ var tests = [ |
return isolate.rootLibrary.load().then((_) { |
// Set up a listener to wait for breakpoint events. |
Completer completer = new Completer(); |
- isolate.vm.debugEvents.listen((ServiceEvent event) { |
+ isolate.vm.events.stream.listen((ServiceEvent event) { |
if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
print('Breakpoint reached'); |
completer.complete(); |