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

Unified Diff: tests/lib_strong/async/future_constructor2_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_strong/async/future_constructor2_test.dart
diff --git a/tests/lib_strong/async/future_constructor2_test.dart b/tests/lib_strong/async/future_constructor2_test.dart
index 2d64ff4e9656fe694f7955a2439d6605c795e114..c80090f56e85e50caee64030a42a1c90948dbad8 100644
--- a/tests/lib_strong/async/future_constructor2_test.dart
+++ b/tests/lib_strong/async/future_constructor2_test.dart
@@ -14,8 +14,7 @@ Future<int> createIntFuture() {
unnamed() {
asyncStart();
- new Future<int>(createIntFuture)
- .then((x) {
+ new Future<int>(createIntFuture).then((x) {
Expect.equals(499, x);
asyncEnd();
});
@@ -32,8 +31,7 @@ delayed() {
microtask() {
asyncStart();
- new Future<int>.microtask(createIntFuture)
- .then((x) {
+ new Future<int>.microtask(createIntFuture).then((x) {
Expect.equals(499, x);
asyncEnd();
});
@@ -41,8 +39,7 @@ microtask() {
sync() {
asyncStart();
- new Future<int>.sync(createIntFuture)
- .then((x) {
+ new Future<int>.sync(createIntFuture).then((x) {
Expect.equals(499, x);
asyncEnd();
});

Powered by Google App Engine
This is Rietveld 408576698