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

Unified Diff: tests/lib_strong/async/stack_trace12_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_trace12_test.dart
diff --git a/tests/lib_strong/async/stack_trace12_test.dart b/tests/lib_strong/async/stack_trace12_test.dart
index 1d1e8af3fedcf99d36bed6111f77a05552c03465..c067d8fa662de2b1d4680002cfff05e2811e4edf 100644
--- a/tests/lib_strong/async/stack_trace12_test.dart
+++ b/tests/lib_strong/async/stack_trace12_test.dart
@@ -9,11 +9,14 @@ import 'dart:async';
main() {
StackTrace trace;
asyncStart();
- var f = new Future(() { throw "foo"; });
- f.then((_) { throw "Unreachable"; },
- onError: (e, st) {
- Expect.equals("foo", e);
- Expect.isNotNull(st);
- asyncEnd();
- });
+ var f = new Future(() {
+ throw "foo";
+ });
+ f.then((_) {
+ throw "Unreachable";
+ }, onError: (e, st) {
+ Expect.equals("foo", e);
+ Expect.isNotNull(st);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698