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..202866b3a4a4cd5c27c6dd95729dac916c85fc23 100644 |
--- a/runtime/observatory/tests/service/smart_next_test.dart |
+++ b/runtime/observatory/tests/service/smart_next_test.dart |
@@ -45,10 +45,9 @@ stepOverAwaitingResume(Isolate isolate) async { |
} |
smartNext(Isolate isolate) async { |
- if (isolate.pauseEvent.atAsyncJump) { |
+ if (isolate.pauseEvent.atAsyncSuspension) { |
print("next-async"); |
- List asyncStepFutures = await isolate.asyncStepOver(); |
- return asyncStepFutures[Isolate.kSecondResume]; |
+ return asyncStepOver(isolate); |
} else { |
print("next-sync"); |
return stepOverAwaitingResume(isolate); |