Index: runtime/observatory/tests/service/debugger_inspect_test.dart |
diff --git a/runtime/observatory/tests/service/debugger_inspect_test.dart b/runtime/observatory/tests/service/debugger_inspect_test.dart |
index fdbc4c7fa0d2a34a384e1a10ecab08c8cc5917e1..70f0df99a07ecb6522ff412bc8bb9160f9661208 100644 |
--- a/runtime/observatory/tests/service/debugger_inspect_test.dart |
+++ b/runtime/observatory/tests/service/debugger_inspect_test.dart |
@@ -23,7 +23,7 @@ var tests = [ |
(Isolate isolate) async { |
Completer completer = new Completer(); |
var subscription; |
- subscription = isolate.vm.events.stream.listen((ServiceEvent event) { |
+ subscription = isolate.vm.debugEvents.listen((ServiceEvent event) { |
print(event); |
if (event.eventType == ServiceEvent.kInspect) { |
expect((event.inspectee as Instance).clazz.name, equals('Point')); |