Index: runtime/observatory/test/code_test.dart |
diff --git a/runtime/observatory/test/code_test.dart b/runtime/observatory/test/code_test.dart |
index 920c68042733632ea5f572c71a445c9d788f7e04..8b7609e26b6bba2e23117f8a89ec62ca6228246a 100644 |
--- a/runtime/observatory/test/code_test.dart |
+++ b/runtime/observatory/test/code_test.dart |
@@ -66,13 +66,13 @@ var tests = [ |
List tests = []; |
// Load code from frame 0. |
- tests.add(isolate.get(codeId0)..then((ServiceObject code) { |
+ tests.add(isolate.get(codeId0)..then((Code code) { |
expect(code.type, equals('Code')); |
expect(code.function.name, equals('funcB')); |
expect(code.hasDisassembly, equals(true)); |
})); |
// Load code from frame 0. |
- tests.add(isolate.get(codeId1)..then((ServiceObject code) { |
+ tests.add(isolate.get(codeId1)..then((Code code) { |
expect(code.type, equals('Code')); |
expect(code.function.name, equals('funcA')); |
expect(code.hasDisassembly, equals(true)); |