| Index: runtime/observatory/tests/service/contexts_test.dart
|
| diff --git a/runtime/observatory/tests/service/contexts_test.dart b/runtime/observatory/tests/service/contexts_test.dart
|
| index ffbbb79c98bf9992a063d1c071d05c5efcffdbb0..3954d878e1985215a18f49cbb41ed63b050e9120 100644
|
| --- a/runtime/observatory/tests/service/contexts_test.dart
|
| +++ b/runtime/observatory/tests/service/contexts_test.dart
|
| @@ -51,7 +51,7 @@ void script() {
|
| var tests = [
|
|
|
| (Isolate isolate) =>
|
| - isolate.rootLib.load().then((Library lib) {
|
| + isolate.rootLibrary.load().then((Library lib) {
|
| Field field = lib.variables.singleWhere((v) => v.name == 'cleanBlock');
|
| return field.value.load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
| @@ -64,7 +64,7 @@ var tests = [
|
| }),
|
|
|
| (Isolate isolate) =>
|
| - isolate.rootLib.load().then((Library lib) {
|
| + isolate.rootLibrary.load().then((Library lib) {
|
| Field field = lib.variables.singleWhere((v) => v.name == 'copyingBlock');
|
| return field.value.load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
| @@ -83,7 +83,7 @@ var tests = [
|
| }),
|
|
|
| (Isolate isolate) =>
|
| - isolate.rootLib.load().then((Library lib) {
|
| + isolate.rootLibrary.load().then((Library lib) {
|
| Field field = lib.variables.singleWhere((v) => v.name == 'fullBlock');
|
| return field.value.load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
| @@ -102,7 +102,7 @@ var tests = [
|
| }),
|
|
|
| (Isolate isolate) =>
|
| - isolate.rootLib.load().then((Library lib) {
|
| + isolate.rootLibrary.load().then((Library lib) {
|
| Field field = lib.variables.singleWhere((v) => v.name == 'fullBlockWithChain');
|
| return field.value.load().then((Instance block) {
|
| expect(block.isClosure, isTrue);
|
|
|