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

Unified Diff: tests/lib_strong/async/stack_trace02_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_trace02_test.dart
diff --git a/tests/lib_strong/async/stack_trace02_test.dart b/tests/lib_strong/async/stack_trace02_test.dart
index 19f5d76a34190bf829dba82873fd5ca57c3bc9a4..2932a2e4b2d467ad69f8086260c53606c18cbf17 100644
--- a/tests/lib_strong/async/stack_trace02_test.dart
+++ b/tests/lib_strong/async/stack_trace02_test.dart
@@ -9,7 +9,9 @@ import 'dart:async';
main() {
StackTrace trace;
asyncStart();
- var f = new Future(() { throw "foo"; });
+ var f = new Future(() {
+ throw "foo";
+ });
f.catchError((e, st) {
Expect.equals("foo", e);
Expect.isNotNull(st);

Powered by Google App Engine
This is Rietveld 408576698