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

Unified Diff: tests/lib/async/stack_trace25_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/async/stack_trace25_test.dart
diff --git a/tests/lib/async/stack_trace25_test.dart b/tests/lib/async/stack_trace25_test.dart
index 75799ef23a9534b35e6b0eb606869ff2bdfa486c..88a541b84723926f0e7e90cd9ae3ed4ef05eee37 100644
--- a/tests/lib/async/stack_trace25_test.dart
+++ b/tests/lib/async/stack_trace25_test.dart
@@ -24,10 +24,11 @@ main() {
asyncStart();
var iterator = new StreamIterator(controller.stream);
var future = iterator.moveNext();
- future.then((_) { throw "unreachable"; },
- onError: (e, st) {
- Expect.equals("error", e);
- Expect.identical(trace, st);
- asyncEnd();
- });
+ future.then((_) {
+ throw "unreachable";
+ }, onError: (e, st) {
+ Expect.equals("error", e);
+ Expect.identical(trace, st);
+ asyncEnd();
+ });
}

Powered by Google App Engine
This is Rietveld 408576698