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

Unified Diff: tests/corelib_strong/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_strong/error_stack_trace2_test.dart
diff --git a/tests/corelib_strong/error_stack_trace2_test.dart b/tests/corelib_strong/error_stack_trace2_test.dart
index ebffd57476318602eed57f3d29902fbb1929c9d1..74376513429115ac309d51ef73c2361242fd912d 100644
--- a/tests/corelib_strong/error_stack_trace2_test.dart
+++ b/tests/corelib_strong/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