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

Unified Diff: tests/lib_strong/async/stack_trace21_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/stack_trace21_test.dart
diff --git a/tests/lib_strong/async/stack_trace21_test.dart b/tests/lib_strong/async/stack_trace21_test.dart
index ecb4669dfe8ccf8c549d6748663dab1bf083fcb2..b859ba8555b2beb317a96d21b8ff384149237292 100644
--- a/tests/lib_strong/async/stack_trace21_test.dart
+++ b/tests/lib_strong/async/stack_trace21_test.dart
@@ -22,13 +22,12 @@ main() {
controller.close();
});
asyncStart();
- controller.stream
- .listen((_) { throw "should never be reached"; },
- onError: (e, st) {
- Expect.equals("error", e);
- Expect.identical(trace, st);
- },
- onDone: () {
- asyncEnd();
- });
+ controller.stream.listen((_) {
+ throw "should never be reached";
+ }, onError: (e, st) {
+ Expect.equals("error", e);
+ Expect.identical(trace, st);
+ }, onDone: () {
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698