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

Unified Diff: tests/corelib/error_stack_trace2_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/corelib/error_stack_trace2_test.dart
diff --git a/tests/corelib/error_stack_trace2_test.dart b/tests/corelib/error_stack_trace2_test.dart
index e430b84fa095f002ec86fc513592a6ddb1819c1d..24c03050ddbc21aa5795b85cf0a99a14ed617915 100644
--- a/tests/corelib/error_stack_trace2_test.dart
+++ b/tests/corelib/error_stack_trace2_test.dart
@@ -19,11 +19,11 @@ main() {
bool hasThrown = false;
try {
cyclicStatic + 1;
- } catch(e2) {
+ } catch (e2) {
var e = e2;
hasThrown = true;
- Expect.isTrue(e.stackTrace is StackTrace,
- "$e doesn't have a non-null stack trace");
+ Expect.isTrue(
+ e.stackTrace is StackTrace, "$e doesn't have a non-null stack trace");
}
Expect.isTrue(hasThrown);
}

Powered by Google App Engine
This is Rietveld 408576698