Index: runtime/observatory/tests/service/smart_next_test.dart |
diff --git a/runtime/observatory/tests/service/smart_next_test.dart b/runtime/observatory/tests/service/smart_next_test.dart |
index 34bac34a5b930f715bdbf028fb28cccf0a9400f2..0ea8c2d69f7bf6e7ba6c6e71f1c178515b5c0481 100644 |
--- a/runtime/observatory/tests/service/smart_next_test.dart |
+++ b/runtime/observatory/tests/service/smart_next_test.dart |
@@ -45,10 +45,10 @@ stepOverAwaitingResume(Isolate isolate) async { |
} |
smartNext(Isolate isolate) async { |
- if (isolate.pauseEvent.atAsyncJump) { |
+ if (isolate.pauseEvent.atAsyncContinuation) { |
print("next-async"); |
List asyncStepFutures = await isolate.asyncStepOver(); |
- return asyncStepFutures[Isolate.kSecondResume]; |
+ return asyncStepFutures[Isolate.kPauseFuture]; |
} else { |
print("next-sync"); |
return stepOverAwaitingResume(isolate); |