Add test for ExpandFocusedSidePanel config

This commit is contained in:
Stefan Haller 2024-05-31 21:41:47 +02:00
parent c5baa5da3a
commit 557dfc5a6d

View file

@ -121,6 +121,46 @@ func TestGetWindowDimensions(t *testing.T) {
B: information
`,
},
{
name: "expandFocusedSidePanel",
mutateArgs: func(args *WindowArrangementArgs) {
args.UserConfig.Gui.ExpandFocusedSidePanel = true
},
expected: `
statusmain
files
branches
commits
stash
<options>A<B>
A: statusSpacer1
B: information
`,
},
{
name: "half screen mode, enlargedSideViewLocation left",
mutateArgs: func(args *WindowArrangementArgs) {