Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Unified Diff: runtime/observatory/tests/service/evaluate_in_async_star_activation_test.dart

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/tests/service/evaluate_in_async_star_activation_test.dart
diff --git a/runtime/observatory/tests/service/evaluate_in_async_star_activation_test.dart b/runtime/observatory/tests/service/evaluate_in_async_star_activation_test.dart
index 4257d83b758db6d688dfec99a6f7b7ddab1fd3d9..41274a82f972f5c7e422f107e2bf15a07e98761f 100644
--- a/runtime/observatory/tests/service/evaluate_in_async_star_activation_test.dart
+++ b/runtime/observatory/tests/service/evaluate_in_async_star_activation_test.dart
@@ -23,32 +23,39 @@ 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(), 15);
-
- 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(), 15);
+
+ 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);

Powered by Google App Engine
This is Rietveld 408576698