Index: tests/language/optimized_hoisting_checked_mode_assert_test.dart |
diff --git a/tests/language/optimized_hoisting_checked_mode_assert_test.dart b/tests/language/optimized_hoisting_checked_mode_assert_test.dart |
index 33996785427e99b8cae9f7c314979d18dea6ad86..27eabb8cfefc99b00adf1901068c04324ff2a2e6 100644 |
--- a/tests/language/optimized_hoisting_checked_mode_assert_test.dart |
+++ b/tests/language/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. |
} |
- |