Index: sky/tests/raw/box_layout.dart |
diff --git a/sky/tests/raw/box_layout.dart b/sky/tests/raw/box_layout.dart |
index c30fc41604c167a1cfb0be669a8cb69b4de37b3b..bf11645c6f24fa6df580d4c149a948250851ed42 100644 |
--- a/sky/tests/raw/box_layout.dart |
+++ b/sky/tests/raw/box_layout.dart |
@@ -7,18 +7,12 @@ import 'package:sky/rendering/box.dart'; |
import 'package:sky/rendering/object.dart'; |
import '../resources/display_list.dart'; |
-import '../resources/third_party/unittest/unittest.dart'; |
-import '../resources/unit.dart'; |
void main() { |
- initUnit(); |
- |
- test("padding", () { |
- 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]); |
- var outer = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF0000FF)), child: block); |
- new TestRenderView(outer); |
- }); |
+ 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]); |
+ var outer = new RenderDecoratedBox(decoration: new BoxDecoration(backgroundColor: const sky.Color(0xFF0000FF)), child: block); |
+ new TestRenderView(outer).endTest(); |
} |