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

Unified Diff: tests/lib_strong/async/stack_trace03_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_trace03_test.dart
diff --git a/tests/lib_strong/async/stack_trace03_test.dart b/tests/lib_strong/async/stack_trace03_test.dart
index 926f486e59c73cd8bfff1fc74cb668b46003defd..e5ab27bc0062622d51a5ea02de31299796e2a783 100644
--- a/tests/lib_strong/async/stack_trace03_test.dart
+++ b/tests/lib_strong/async/stack_trace03_test.dart
@@ -9,11 +9,12 @@ import 'dart:async';
main() {
StackTrace trace;
asyncStart();
- var f = new Future(() { throw "foo"; });
- f.then((_) => 499)
- .catchError((e, st) {
- Expect.equals("foo", e);
- Expect.isNotNull(st);
- asyncEnd();
- });
+ var f = new Future(() {
+ throw "foo";
+ });
+ f.then((_) => 499).catchError((e, st) {
+ Expect.equals("foo", e);
+ Expect.isNotNull(st);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698