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 1f7fe314fce44813646ac0b21baf2ab516936831..269a1234596d22eca8c21bd2103b77a2b2338d0c 100644 |
--- a/runtime/observatory/tests/service/debugger_inspect_test.dart |
+++ b/runtime/observatory/tests/service/debugger_inspect_test.dart |
@@ -26,7 +26,7 @@ var tests = [ |
var subscription; |
subscription = stream.listen((ServiceEvent event) { |
if (event.kind == ServiceEvent.kInspect) { |
- expect((event.inspectee as Instance).clazz.name, equals('Point')); |
+ expect(event.inspectee.clazz.name, equals('Point')); |
subscription.cancel(); |
completer.complete(); |
} |