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

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

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. 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/causal_async_stack_presence_test.dart
diff --git a/runtime/observatory/tests/service/causal_async_stack_presence_test.dart b/runtime/observatory/tests/service/causal_async_stack_presence_test.dart
index 2af9c8f74818c113cd89248ab3ad4f1d101e9621..eb00b2ebf9910ee0c52002d5bbca17ae200981b9 100644
--- a/runtime/observatory/tests/service/causal_async_stack_presence_test.dart
+++ b/runtime/observatory/tests/service/causal_async_stack_presence_test.dart
@@ -15,18 +15,18 @@ const LINE_B = 29;
foobar() {
debugger();
- print('foobar'); // LINE_C.
+ print('foobar'); // LINE_C.
}
helper() async {
debugger();
- print('helper'); // LINE_A.
+ print('helper'); // LINE_A.
foobar();
}
testMain() {
debugger();
- helper(); // LINE_B.
+ helper(); // LINE_B.
}
var tests = [
@@ -40,17 +40,14 @@ var tests = [
resumeIsolate,
hasStoppedAtBreakpoint,
stoppedAtLine(LINE_A),
-
(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)
@@ -58,6 +55,5 @@ var tests = [
},
];
-main(args) => runIsolateTestsSynchronous(args,
- tests,
- testeeConcurrent: testMain);
+main(args) =>
+ runIsolateTestsSynchronous(args, tests, testeeConcurrent: testMain);

Powered by Google App Engine
This is Rietveld 408576698