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

Unified Diff: tests/lib_strong/async/stack_trace17_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_trace17_test.dart
diff --git a/tests/lib_strong/async/stack_trace17_test.dart b/tests/lib_strong/async/stack_trace17_test.dart
index b658a665b8545409061c65b032aff042111924a9..b7f33c544e9f3d4bcc0e9bb79275c6d11b7986b3 100644
--- a/tests/lib_strong/async/stack_trace17_test.dart
+++ b/tests/lib_strong/async/stack_trace17_test.dart
@@ -18,14 +18,14 @@ main() {
Completer completer = new Completer();
StackTrace trace = captureStackTrace();
asyncStart();
- completer.future
- .whenComplete(() => 499)
- .then((_) { throw "bad things happen"; })
- .then((_) { throw "Unreachable"; },
- onError: (e, st) {
- Expect.equals("bad things happen", e);
- Expect.isNotNull(st);
- asyncEnd();
- });
+ completer.future.whenComplete(() => 499).then((_) {
+ throw "bad things happen";
+ }).then((_) {
+ throw "Unreachable";
+ }, onError: (e, st) {
+ Expect.equals("bad things happen", e);
+ Expect.isNotNull(st);
+ asyncEnd();
+ });
completer.complete(499);
}

Powered by Google App Engine
This is Rietveld 408576698