Index: sky/tests/layout/custom.sky |
diff --git a/sky/tests/layout/custom.sky b/sky/tests/layout/custom.sky |
index fc7399930e3390d439309f99ef8d6086e4ea58a0..b3892a873c1ac3cfced6451d35d7ca0bf92baa7d 100644 |
--- a/sky/tests/layout/custom.sky |
+++ b/sky/tests/layout/custom.sky |
@@ -23,7 +23,6 @@ void main() { |
parent.setLayoutManager(() { |
if (first) { |
- first = false; |
parent.width = 200.0; |
} else { |
parent.width = 150.0; |
@@ -69,6 +68,7 @@ void main() { |
expect(secondChild.offsetWidth, equals(200)); |
assertNonChangingValues(); |
+ first = false; |
parent.setNeedsLayout(); |
window.requestAnimationFrame((_) { |