Index: tests/language/string_overflow.dart |
diff --git a/tests/language/string_overflow.dart b/tests/language/string_overflow.dart |
index fd1f285d30df6af3e2d816ede919d964b183624f..8b01e19498361244f170c17b2a39f48fa5d1d5dc 100644 |
--- a/tests/language/string_overflow.dart |
+++ b/tests/language/string_overflow.dart |
@@ -7,11 +7,9 @@ |
import "package:expect/expect.dart"; |
-main() |
-{ |
+main() { |
String a = "a"; |
- for( ; a.length < 256 * 1024 * 1024 ; ) |
- a = a + a; |
+ for (; a.length < 256 * 1024 * 1024;) a = a + a; |
var exception_thrown = false; |
try { |
@@ -21,4 +19,3 @@ main() |
} |
Expect.isTrue(exception_thrown); |
} |
- |