Index: runtime/observatory/tests/service/evaluate_in_async_activation_test.dart |
diff --git a/runtime/observatory/tests/service/evaluate_in_async_activation_test.dart b/runtime/observatory/tests/service/evaluate_in_async_activation_test.dart |
index 45eee68a6324503d24a6556b170a3246072b9bd3..c114902abe2baa33624afe2c3c3c1241d68f9709 100644 |
--- a/runtime/observatory/tests/service/evaluate_in_async_activation_test.dart |
+++ b/runtime/observatory/tests/service/evaluate_in_async_activation_test.dart |
@@ -19,39 +19,32 @@ testFunction() async { |
} |
var tests = [ |
- |
-hasStoppedAtBreakpoint, |
- |
-(Isolate isolate) async { |
- // Make sure we are in the right place. |
- var stack = await isolate.getStack(); |
- var topFrame = 0; |
- expect(stack.type, equals('Stack')); |
- expect(await stack['frames'][topFrame].location.getLine(), 16); |
- |
- var result = await isolate.evalFrame(topFrame, "x"); |
- print(result); |
- expect(result.valueAsString, equals("3")); |
-}, |
- |
-resumeIsolate, |
- |
-hasStoppedAtBreakpoint, |
- |
-(Isolate isolate) async { |
- // Make sure we are in the right place. |
- var stack = await isolate.getStack(); |
- var topFrame = 0; |
- expect(stack.type, equals('Stack')); |
- expect(await stack['frames'][topFrame].location.getLine(), 18); |
- |
- var result = await isolate.evalFrame(topFrame, "z"); |
- print(result); |
- expect(result.valueAsString, equals("7")); |
-}, |
- |
-resumeIsolate, |
- |
+ hasStoppedAtBreakpoint, |
+ (Isolate isolate) async { |
+ // Make sure we are in the right place. |
+ var stack = await isolate.getStack(); |
+ var topFrame = 0; |
+ expect(stack.type, equals('Stack')); |
+ expect(await stack['frames'][topFrame].location.getLine(), 16); |
+ |
+ var result = await isolate.evalFrame(topFrame, "x"); |
+ print(result); |
+ expect(result.valueAsString, equals("3")); |
+ }, |
+ resumeIsolate, |
+ hasStoppedAtBreakpoint, |
+ (Isolate isolate) async { |
+ // Make sure we are in the right place. |
+ var stack = await isolate.getStack(); |
+ var topFrame = 0; |
+ expect(stack.type, equals('Stack')); |
+ expect(await stack['frames'][topFrame].location.getLine(), 18); |
+ |
+ var result = await isolate.evalFrame(topFrame, "z"); |
+ print(result); |
+ expect(result.valueAsString, equals("7")); |
+ }, |
+ resumeIsolate, |
]; |
main(args) => runIsolateTests(args, tests, testeeConcurrent: testFunction); |