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

Unified Diff: tests/lib_strong/async/stack_trace11_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_trace11_test.dart
diff --git a/tests/lib_strong/async/stack_trace11_test.dart b/tests/lib_strong/async/stack_trace11_test.dart
index d72b50f36cadfac72d7fe8cee52407591208612f..d698a1871446deca908df13707f787c1e87b40dc 100644
--- a/tests/lib_strong/async/stack_trace11_test.dart
+++ b/tests/lib_strong/async/stack_trace11_test.dart
@@ -18,9 +18,10 @@ main() {
StackTrace trace = captureStackTrace();
asyncStart();
var f = new Future.error(499, trace);
- f.then((_) { throw "Unreachable"; },
- onError: (e, st) {
- Expect.identical(trace, st);
- asyncEnd();
- });
+ f.then((_) {
+ throw "Unreachable";
+ }, onError: (e, st) {
+ Expect.identical(trace, st);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698