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

Unified Diff: tests/lib_strong/async/stack_trace13_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_trace13_test.dart
diff --git a/tests/lib_strong/async/stack_trace13_test.dart b/tests/lib_strong/async/stack_trace13_test.dart
index 0b12808dd4af08685b89c3aee1603e97ee9baecd..8855bee27a29566f9af37c4d24823736b0f2c0b9 100644
--- a/tests/lib_strong/async/stack_trace13_test.dart
+++ b/tests/lib_strong/async/stack_trace13_test.dart
@@ -9,12 +9,14 @@ import 'dart:async';
main() {
StackTrace trace;
asyncStart();
- var f = new Future(() { throw "foo"; });
- f.then((_) => 499)
- .then((_) { throw "Unreachable"; },
- onError: (e, st) {
- Expect.equals("foo", e);
- Expect.isNotNull(st);
- asyncEnd();
- });
+ var f = new Future(() {
+ throw "foo";
+ });
+ f.then((_) => 499).then((_) {
+ throw "Unreachable";
+ }, onError: (e, st) {
+ Expect.equals("foo", e);
+ Expect.isNotNull(st);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698