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

Unified Diff: tests/lib/async/stack_trace23_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/async/stack_trace23_test.dart
diff --git a/tests/lib/async/stack_trace23_test.dart b/tests/lib/async/stack_trace23_test.dart
index 1cde7830c647c8ffc893c35522b54f5bbb53f30c..2ee308a3fd08f02674f969ffd75f2449bdeb0582 100644
--- a/tests/lib/async/stack_trace23_test.dart
+++ b/tests/lib/async/stack_trace23_test.dart
@@ -18,12 +18,13 @@ main() {
StackTrace trace = captureStackTrace();
asyncStart();
var f = new Future.error(499, trace);
- f.catchError((e) { throw "unreachable"; }, test: (e) {
- Expect.equals(499, e);
- return false;
- })
- .catchError((e, st) {
- Expect.identical(trace, st);
- asyncEnd();
- }, test: (e) => e == 499);
+ f.catchError((e) {
+ throw "unreachable";
+ }, test: (e) {
+ Expect.equals(499, e);
+ return false;
+ }).catchError((e, st) {
+ Expect.identical(trace, st);
+ asyncEnd();
+ }, test: (e) => e == 499);
}

Powered by Google App Engine
This is Rietveld 408576698