| Index: runtime/bin/vmservice/observatory/test/contexts_test.dart
|
| diff --git a/runtime/bin/vmservice/observatory/test/contexts_test.dart b/runtime/bin/vmservice/observatory/test/contexts_test.dart
|
| index 47c04415433c5ed71c195941935b3ab63b5f0218..38a5a2e2a472153760f3cd03e112e4e76680f120 100644
|
| --- a/runtime/bin/vmservice/observatory/test/contexts_test.dart
|
| +++ b/runtime/bin/vmservice/observatory/test/contexts_test.dart
|
| @@ -52,7 +52,7 @@ var tests = [
|
|
|
| (Isolate isolate) =>
|
| isolate.rootLib.load().then((Library lib) {
|
| - ServiceObject field = lib.variables.singleWhere((v) => v.name == 'cleanBlock');
|
| + ServiceMap field = lib.variables.singleWhere((v) => v.name == 'cleanBlock');
|
| return field['value'].load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
| expect(block.closureCtxt.isContext, isTrue);
|
| @@ -65,7 +65,7 @@ var tests = [
|
|
|
| (Isolate isolate) =>
|
| isolate.rootLib.load().then((Library lib) {
|
| - ServiceObject field = lib.variables.singleWhere((v) => v.name == 'copyingBlock');
|
| + ServiceMap field = lib.variables.singleWhere((v) => v.name == 'copyingBlock');
|
| return field['value'].load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
| expect(block.closureCtxt.isContext, isTrue);
|
| @@ -80,7 +80,7 @@ var tests = [
|
|
|
| (Isolate isolate) =>
|
| isolate.rootLib.load().then((Library lib) {
|
| - ServiceObject field = lib.variables.singleWhere((v) => v.name == 'fullBlock');
|
| + ServiceMap field = lib.variables.singleWhere((v) => v.name == 'fullBlock');
|
| return field['value'].load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
| expect(block.closureCtxt.isContext, isTrue);
|
| @@ -95,7 +95,7 @@ var tests = [
|
|
|
| (Isolate isolate) =>
|
| isolate.rootLib.load().then((Library lib) {
|
| - ServiceObject field = lib.variables.singleWhere((v) => v.name == 'fullBlockWithChain');
|
| + ServiceMap field = lib.variables.singleWhere((v) => v.name == 'fullBlockWithChain');
|
| return field['value'].load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
| expect(block.closureCtxt.isContext, isTrue);
|
|
|