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

Unified Diff: tests/lib_strong/async/stack_trace20_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_trace20_test.dart
diff --git a/tests/lib_strong/async/stack_trace20_test.dart b/tests/lib_strong/async/stack_trace20_test.dart
index aaec9982b0e85947d03d53759706d16802f16fd4..b0420d4538dc8ad3e92cb4ea891ddd13e79fd2ea 100644
--- a/tests/lib_strong/async/stack_trace20_test.dart
+++ b/tests/lib_strong/async/stack_trace20_test.dart
@@ -22,13 +22,11 @@ main() {
controller.close();
});
asyncStart();
- controller.stream
- .listen(null)
- .asFuture()
- .then((_) { throw "should never be reached"; },
- onError: (e, st) {
- Expect.equals("error", e);
- Expect.identical(trace, st);
- asyncEnd();
- });
+ controller.stream.listen(null).asFuture().then((_) {
+ throw "should never be reached";
+ }, onError: (e, st) {
+ Expect.equals("error", e);
+ Expect.identical(trace, st);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698