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

Unified Diff: tests/lib_strong/async/stream_take_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/stream_take_test.dart
diff --git a/tests/lib_strong/async/stream_take_test.dart b/tests/lib_strong/async/stream_take_test.dart
index e341a2259d193c521b42a4db807a5665a46960ef..b681e8847d7d41b2f00d77ebbdac630609aec57c 100644
--- a/tests/lib_strong/async/stream_take_test.dart
+++ b/tests/lib_strong/async/stream_take_test.dart
@@ -6,8 +6,13 @@ import 'dart:async';
import "package:expect/expect.dart";
import "package:async_helper/async_helper.dart";
-class A { const A(); }
-class B extends A { const B(); }
+class A {
+ const A();
+}
+
+class B extends A {
+ const B();
+}
/// Stream which emits an error if it's not canceled at the correct time.
///
@@ -38,7 +43,9 @@ Stream makeStream(int maxEvents) {
main() {
asyncStart();
- tests().then((_) { asyncEnd(); });
+ tests().then((_) {
+ asyncEnd();
+ });
}
tests() async {
@@ -59,5 +66,5 @@ tests() async {
Future expectThrowsAsync(Future computation, String name) {
return computation.then((_) {
Expect.fail("$name: Did not throw");
- }, onError: (e, s){});
+ }, onError: (e, s) {});
}

Powered by Google App Engine
This is Rietveld 408576698