| Index: runtime/observatory/tests/service/causal_async_star_stack_presence_test.dart
|
| diff --git a/runtime/observatory/tests/service/causal_async_star_stack_presence_test.dart b/runtime/observatory/tests/service/causal_async_star_stack_presence_test.dart
|
| index 6c8d40553209cc3d638850349b6ca6a1a3733aee..aef64ebce4aa056d1c31274461a1d03e231d86db 100644
|
| --- a/runtime/observatory/tests/service/causal_async_star_stack_presence_test.dart
|
| +++ b/runtime/observatory/tests/service/causal_async_star_stack_presence_test.dart
|
| @@ -15,14 +15,14 @@ const LINE_C = 20;
|
|
|
| foobar() async* {
|
| debugger();
|
| - yield 1; // LINE_B.
|
| + yield 1; // LINE_B.
|
| debugger();
|
| - yield 2; // LINE_C.
|
| + yield 2; // LINE_C.
|
| }
|
|
|
| helper() async {
|
| debugger();
|
| - print('helper'); // LINE_A.
|
| + print('helper'); // LINE_A.
|
| await for (var i in foobar()) {
|
| print('helper $i');
|
| }
|
| @@ -43,17 +43,14 @@ var tests = [
|
| resumeIsolate,
|
| hasStoppedAtBreakpoint,
|
| stoppedAtLine(LINE_B),
|
| -
|
| (Isolate isolate) async {
|
| ServiceMap stack = await isolate.getStack();
|
| // Has causal frames (we are inside an async function)
|
| expect(stack['asyncCausalFrames'], isNotNull);
|
| },
|
| -
|
| resumeIsolate,
|
| hasStoppedAtBreakpoint,
|
| stoppedAtLine(LINE_C),
|
| -
|
| (Isolate isolate) async {
|
| ServiceMap stack = await isolate.getStack();
|
| // Has causal frames (we are inside a function called by an async function)
|
| @@ -61,6 +58,5 @@ var tests = [
|
| },
|
| ];
|
|
|
| -main(args) => runIsolateTestsSynchronous(args,
|
| - tests,
|
| - testeeConcurrent: testMain);
|
| +main(args) =>
|
| + runIsolateTestsSynchronous(args, tests, testeeConcurrent: testMain);
|
|
|