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..e6b8e9e00ff08287edc2aab0d051b40d728bf123 100644 |
--- a/runtime/observatory/tests/service/debugger_inspect_test.dart |
+++ b/runtime/observatory/tests/service/debugger_inspect_test.dart |
@@ -25,7 +25,7 @@ var tests = [ |
var subscription; |
subscription = isolate.vm.events.stream.listen((ServiceEvent event) { |
print(event); |
- if (event.eventType == ServiceEvent.kInspect) { |
+ if (event.kind == ServiceEvent.kInspect) { |
expect((event.inspectee as Instance).clazz.name, equals('Point')); |
subscription.cancel(); |