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

Unified Diff: tests/language/string_overflow.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/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);
}
-

Powered by Google App Engine
This is Rietveld 408576698