From 5c0f1ed9546694d9c40dd649ec3305f1675fcaea Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 17 Oct 2019 14:22:24 +0200 Subject: [PATCH] layout: update tests Signed-off-by: Elias Naur --- layout/layout_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/layout_test.go b/layout/layout_test.go index 249fb64f..fc45171d 100644 --- a/layout/layout_test.go +++ b/layout/layout_test.go @@ -80,7 +80,7 @@ func ExampleFlex() { // Output: // Rigid: {0 100} - // 50%: {0 45} + // 50%: {45 45} } func ExampleStack() { @@ -103,7 +103,7 @@ func ExampleStack() { stack.Layout(gtx, child1, child2) // Output: - // Expand: {{50 50} {50 50}} + // Expand: {{50 100} {50 100}} } func ExampleList() {