| Index: sky/tests/raw/box_layout.dart
|
| diff --git a/sky/tests/raw/box_layout.dart b/sky/tests/raw/box_layout.dart
|
| index 9ef58a95c494511ad86adca680b0ba80529eebef..c30fc41604c167a1cfb0be669a8cb69b4de37b3b 100644
|
| --- a/sky/tests/raw/box_layout.dart
|
| +++ b/sky/tests/raw/box_layout.dart
|
| @@ -14,7 +14,7 @@ void main() {
|
| initUnit();
|
|
|
| test("padding", () {
|
| - var size = new RenderSizedBox(desiredSize: new sky.Size(double.INFINITY, 100.0));
|
| + var size = new RenderConstrainedBox(additionalConstraints: new BoxConstraints().applyHeight(100.0));
|
| var inner = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF00FF00)), child: size);
|
| var padding = new RenderPadding(padding: new EdgeDims.all(50.0), child: inner);
|
| var block = new RenderBlock(children: [padding]);
|
|
|