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

Unified Diff: tests/lib/async/async_await_sync_completer_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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: tests/lib/async/async_await_sync_completer_test.dart
diff --git a/tests/lib/async/async_await_sync_completer_test.dart b/tests/lib/async/async_await_sync_completer_test.dart
index 5865729e49c7b52a70b9fc3406650f2d2b395541..aca21b9238d22bc6a399cec8b70cc01ae1827eae 100644
--- a/tests/lib/async/async_await_sync_completer_test.dart
+++ b/tests/lib/async/async_await_sync_completer_test.dart
@@ -31,19 +31,20 @@ void main() {
var asyncValueFuture = foo().then(events.add);
var asyncErrorFuture = bar().catchError(events.add);
Future.wait([
- asyncValueFuture,
- delayedValue.future,
- asyncErrorFuture,
- delayedError.future]).then((_) {
+ asyncValueFuture,
+ delayedValue.future,
+ asyncErrorFuture,
+ delayedError.future
+ ]).then((_) {
// The body completed before nested microtask. So they should appear
// before the delayed functions. In other words, the async function should
// not unnecessarily delay the propagation of errors and values.
Expect.listEquals([
- "in async function",
- "in async function error",
- "in microtask",
- "in microtask error"],
- events);
+ "in async function",
+ "in async function error",
+ "in microtask",
+ "in microtask error"
+ ], events);
asyncEnd();
});
}

Powered by Google App Engine
This is Rietveld 408576698