diff options
Diffstat (limited to 'pkg/gui/boxlayout/boxlayout_test.go')
-rw-r--r-- | pkg/gui/boxlayout/boxlayout_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/boxlayout/boxlayout_test.go b/pkg/gui/boxlayout/boxlayout_test.go index 9a50ff9d2..6f06379a3 100644 --- a/pkg/gui/boxlayout/boxlayout_test.go +++ b/pkg/gui/boxlayout/boxlayout_test.go @@ -87,7 +87,7 @@ func TestArrangeWindows(t *testing.T) { }, { "Box with COLUMN direction only on wide boxes with narrow box", - &Box{ConditionalDirection: func(width int, height int) int { + &Box{ConditionalDirection: func(width int, height int) Direction { if width > 4 { return COLUMN } else { @@ -111,7 +111,7 @@ func TestArrangeWindows(t *testing.T) { }, { "Box with COLUMN direction only on wide boxes with wide box", - &Box{ConditionalDirection: func(width int, height int) int { + &Box{ConditionalDirection: func(width int, height int) Direction { if width > 4 { return COLUMN } else { |