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

Unified Diff: sky/tests/raw/padding_deflate.dart

Issue 1154903006: Borders. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: now with no broken tests Created 5 years, 7 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: sky/tests/raw/padding_deflate.dart
diff --git a/sky/tests/raw/padding_deflate.dart b/sky/tests/raw/padding_deflate.dart
index ffda37cfabab6d486804fc0dacc2d76508e4c221..e1996d8764093b1b064a8d2d0f81bbcc5b924af6 100644
--- a/sky/tests/raw/padding_deflate.dart
+++ b/sky/tests/raw/padding_deflate.dart
@@ -12,10 +12,13 @@ void main() {
initUnit();
test("should not have a 0 sized colored Box", () {
- var coloredBox = new RenderDecoratedBox();
+ var coloredBox = new RenderDecoratedBox(
+ decoration: new BoxDecoration()
+ );
var paddingBox = new RenderPadding(padding: const EdgeDims.all(10.0),
child: coloredBox);
RenderBox root = new RenderDecoratedBox(
+ decoration: new BoxDecoration(),
child: paddingBox
);
TestView renderView = new TestView(child: root);
« sky/sdk/lib/framework/rendering/box.dart ('K') | « sky/sdk/lib/framework/rendering/box.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698