Index: runtime/observatory/tests/service/get_object_rpc_test.dart |
=================================================================== |
--- runtime/observatory/tests/service/get_object_rpc_test.dart (revision 45397) |
+++ runtime/observatory/tests/service/get_object_rpc_test.dart (working copy) |
@@ -350,8 +350,8 @@ |
expect(result['_objectPool'], isNotNull); |
expect(result['_disassembly'], isNotNull); |
expect(result['_descriptors'], isNotNull); |
- expect(result['_inlinedFunctions'], isNotNull); |
- expect(result['_inlinedIntervals'], isNotNull); |
+ expect(result['_inlinedFunctions'], anyOf([isNull, new isInstanceOf<List>()])); |
+ expect(result['_inlinedIntervals'], anyOf([isNull, new isInstanceOf<List>()])); |
}, |
// invalid code. |