Index: tests/corelib/error_stack_trace_test.dart |
diff --git a/tests/corelib/error_stack_trace_test.dart b/tests/corelib/error_stack_trace_test.dart |
index 55be1d3bacc0dbb44710313f1bbc91ef75c2795e..6851f7b904ca3b4bef8f4cde944e65d733289029 100644 |
--- a/tests/corelib/error_stack_trace_test.dart |
+++ b/tests/corelib/error_stack_trace_test.dart |
@@ -57,18 +57,26 @@ void type() { |
main() { |
List<Function> errorFunctions = [ |
- argument, noSuchMethod, nullThrown, range, fallThrough, |
- abstractClassInstantiation, unsupported, unimplemented, state, |
- type ]; |
+ argument, |
+ noSuchMethod, |
+ nullThrown, |
+ range, |
+ fallThrough, |
+ abstractClassInstantiation, |
+ unsupported, |
+ unimplemented, |
+ state, |
+ type |
+ ]; |
for (var f in errorFunctions) { |
bool hasThrown = false; |
try { |
f(); |
- } catch(e) { |
+ } catch (e) { |
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); |
} |