Index: tests/language_strong/closure_cycles_test.dart |
diff --git a/tests/language_strong/closure_cycles_test.dart b/tests/language_strong/closure_cycles_test.dart |
index 7aded11a32465a4a9bf6bb4e3e4ba11fcaeced42..e66a391e1e30a81a26990f4d7129582ecc142977 100644 |
--- a/tests/language_strong/closure_cycles_test.dart |
+++ b/tests/language_strong/closure_cycles_test.dart |
@@ -10,7 +10,9 @@ import "dart:async"; |
class X { |
Function onX; |
- X() { Timer.run(() => onX(new Y())); } |
+ X() { |
+ Timer.run(() => onX(new Y())); |
+ } |
} |
class Y { |
@@ -19,7 +21,7 @@ class Y { |
static var count = 0; |
Y() { |
// Consume large amounts of memory per iteration to fail/succeed quicker. |
- heavyMemory = new List(10*1024*1024); |
+ heavyMemory = new List(10 * 1024 * 1024); |
// Terminate the test if we allocated enough memory without running out. |
if (count++ > 100) return; |
Timer.run(() => onY()); |
@@ -30,7 +32,7 @@ void doIt() { |
var x = new X(); |
x.onX = (y) { |
y.onY = () { |
- y; // Capturing y can lead to endless context chains! |
+ y; // Capturing y can lead to endless context chains! |
doIt(); |
}; |
}; |