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

Unified Diff: tests/language/async_star_cancel_and_throw_in_finally_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/async_star_cancel_and_throw_in_finally_test.dart
diff --git a/tests/language/async_star_cancel_and_throw_in_finally_test.dart b/tests/language/async_star_cancel_and_throw_in_finally_test.dart
index 1ca90f0b82717dff0fb1498c73993a1f09d77f0c..cd7a68a221050a349fe9caf511771763d9c688f3 100644
--- a/tests/language/async_star_cancel_and_throw_in_finally_test.dart
+++ b/tests/language/async_star_cancel_and_throw_in_finally_test.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import"dart:async";
+import "dart:async";
import "package:expect/expect.dart";
import "package:async_helper/async_helper.dart";
@@ -12,7 +12,7 @@ import "package:async_helper/async_helper.dart";
foo() async* {
try {
int i = 0;
- while(true) {
+ while (true) {
yield i++;
}
} finally {
@@ -28,7 +28,7 @@ test() async {
try {
await s.cancel();
Expect.fail("Did not throw");
- } catch(e) {
+ } catch (e) {
Expect.equals("Error", e);
completer.complete();
}

Powered by Google App Engine
This is Rietveld 408576698