Index: tests/language_strong/optimized_hoisting_checked_mode_assert_test.dart |
diff --git a/tests/language_strong/optimized_hoisting_checked_mode_assert_test.dart b/tests/language_strong/optimized_hoisting_checked_mode_assert_test.dart |
index 81ff2e283819299647fa6d00d10ccdde7630d54c..ac45ebfc972e1002f0968c19af493f496e2335b1 100644 |
--- a/tests/language_strong/optimized_hoisting_checked_mode_assert_test.dart |
+++ b/tests/language_strong/optimized_hoisting_checked_mode_assert_test.dart |
@@ -7,9 +7,9 @@ import "package:expect/expect.dart"; |
// Test checked mode assertions inside loops. |
-int foo(x, n) { |
+int foo(x, n) { |
double z = 0.0; |
- for (var i=0; i<n; i++) { |
+ for (var i = 0; i < n; i++) { |
double z = x; |
} |
return 0; |
@@ -18,6 +18,5 @@ int foo(x, n) { |
main() { |
for (var i = 0; i < 20; i++) foo(1.0, 10); |
Expect.equals(0, foo(1.0, 10)); |
- Expect.equals(0, foo(2, 0)); // Must not throw in checked mode. |
+ Expect.equals(0, foo(2, 0)); // Must not throw in checked mode. |
} |
- |