| Index: runtime/bin/vmservice/observatory/test/weak_properties_test.dart
|
| diff --git a/runtime/bin/vmservice/observatory/test/weak_properties_test.dart b/runtime/bin/vmservice/observatory/test/weak_properties_test.dart
|
| index 662d60f1ee9871a1812594c2a9fad444842a4062..71d5051fd6fe1fb67e7ab15dd699ca3fa9762442 100644
|
| --- a/runtime/bin/vmservice/observatory/test/weak_properties_test.dart
|
| +++ b/runtime/bin/vmservice/observatory/test/weak_properties_test.dart
|
| @@ -36,12 +36,12 @@ var tests = [
|
|
|
| (Isolate isolate) =>
|
| isolate.rootLib.load().then((Library lib) {
|
| - ServiceMap keyField = lib.variables.singleWhere((v) => v.name == 'key');
|
| - Instance key = keyField['value'];
|
| - ServiceMap valueField = lib.variables.singleWhere((v) => v.name == 'value');
|
| - Instance value = valueField['value'];
|
| - ServiceMap propField = lib.variables.singleWhere((v) => v.name == 'weak_property');
|
| - Instance prop = propField['value'];
|
| + Field keyField = lib.variables.singleWhere((v) => v.name == 'key');
|
| + Instance key = keyField.value;
|
| + Field valueField = lib.variables.singleWhere((v) => v.name == 'value');
|
| + Instance value = valueField.value;
|
| + Field propField = lib.variables.singleWhere((v) => v.name == 'weak_property');
|
| + Instance prop = propField.value;
|
|
|
| expect(key.isWeakProperty, isFalse);
|
| expect(value.isWeakProperty, isFalse);
|
|
|