| Index: runtime/bin/vmservice/observatory/test/mirror_references_test.dart
|
| diff --git a/runtime/bin/vmservice/observatory/test/mirror_references_test.dart b/runtime/bin/vmservice/observatory/test/mirror_references_test.dart
|
| index 651803a54c0239af585adb17abcaef545f5a3196..b3c782cbf1316397742e24d0324bb12daaed029a 100644
|
| --- a/runtime/bin/vmservice/observatory/test/mirror_references_test.dart
|
| +++ b/runtime/bin/vmservice/observatory/test/mirror_references_test.dart
|
| @@ -27,10 +27,10 @@ var tests = [
|
|
|
| (Isolate isolate) =>
|
| isolate.rootLib.load().then((Library lib) {
|
| - ServiceMap fooField = lib.variables.singleWhere((v) => v.name == 'foo');
|
| - Instance foo = fooField['value'];
|
| - ServiceMap refField = lib.variables.singleWhere((v) => v.name == 'ref');
|
| - Instance ref = refField['value'];
|
| + Field fooField = lib.variables.singleWhere((v) => v.name == 'foo');
|
| + Instance foo = fooField.value;
|
| + Field refField = lib.variables.singleWhere((v) => v.name == 'ref');
|
| + Instance ref = refField.value;
|
|
|
| expect(foo.isMirrorReference, isFalse);
|
| expect(ref.isMirrorReference, isTrue);
|
|
|