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

Unified Diff: tests/lib_strong/async/stack_trace14_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_trace14_test.dart
diff --git a/tests/lib_strong/async/stack_trace14_test.dart b/tests/lib_strong/async/stack_trace14_test.dart
index 1a75c88c56d751b576bde8a9ee2adc815921c7dc..fe3a534497c74b0ad9d39c102747e20d01f8c297 100644
--- a/tests/lib_strong/async/stack_trace14_test.dart
+++ b/tests/lib_strong/async/stack_trace14_test.dart
@@ -18,11 +18,11 @@ main() {
StackTrace trace = captureStackTrace();
asyncStart();
var f = new Future(() => 499);
- f.then((_) => new Future.error("e", trace))
- .then((_) { throw "Unreachable"; },
- onError: (e, st) {
- Expect.equals("e", e);
- Expect.identical(trace, st);
- asyncEnd();
- });
+ f.then((_) => new Future.error("e", trace)).then((_) {
+ throw "Unreachable";
+ }, onError: (e, st) {
+ Expect.equals("e", e);
+ Expect.identical(trace, st);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698