Index: runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
diff --git a/runtime/observatory/tests/service/async_generator_breakpoint_test.dart b/runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
index dbdd0459608426bebadb3501f4241fb847d6a2d5..123edcd83c14031391320e927cd89e85e7332794 100644 |
--- a/runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
+++ b/runtime/observatory/tests/service/async_generator_breakpoint_test.dart |
@@ -42,8 +42,8 @@ testeeDo() { |
} |
testAsync(Isolate isolate) async { |
- await isolate.rootLib.load(); |
- var script = isolate.rootLib.scripts[0]; |
+ await isolate.rootLibrary.load(); |
+ var script = isolate.rootLibrary.scripts[0]; |
var bp1 = await isolate.addBreakpoint(script, 10); |
expect(bp1, isNotNull); |
@@ -64,7 +64,7 @@ testAsync(Isolate isolate) async { |
var hits = []; |
- isolate.eval(isolate.rootLib, 'testerReady = true;') |
+ isolate.rootLibrary.evaluate('testerReady = true;') |
.then((Instance result) { |
expect(result.valueAsString, equals('true')); |
}); |