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

Unified Diff: tests/language/asyncstar_throw_in_catch_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/language/asyncstar_throw_in_catch_test.dart
diff --git a/tests/language/asyncstar_throw_in_catch_test.dart b/tests/language/asyncstar_throw_in_catch_test.dart
index 37eb183abec90c8a28859a0ba1a484bfdd9dd1f9..503d3ba91e65433f7aa0bba39f2019a1d801f794 100644
--- a/tests/language/asyncstar_throw_in_catch_test.dart
+++ b/tests/language/asyncstar_throw_in_catch_test.dart
@@ -110,8 +110,8 @@ runTest(test, expectedTrace, expectedError, shouldCancel) {
Expect.equals(expectedError, error);
tracer.trace("X");
}, onDone: () {
- tracer.done();
- done.complete(null);
+ tracer.done();
+ done.complete(null);
});
return done.future.then((_) => tracer.done());
}
@@ -125,7 +125,6 @@ test() async {
await runTest(foo4, "abcdYeYfX", "Error2", false);
}
-
void main() {
asyncTest(test);
-}
+}

Powered by Google App Engine
This is Rietveld 408576698