mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Take removed columns into account when applying column alignments
This commit is contained in:
@ -212,10 +212,7 @@ func TestRenderDisplayStrings(t *testing.T) {
|
||||
{
|
||||
input: [][]string{{"a", "", "bcd", "efg", "h"}, {"i", "", "j", "k", "l"}},
|
||||
columnAlignments: []Alignment{AlignLeft, AlignLeft, AlignRight, AlignLeft},
|
||||
expected: "a bcd efg h\ni j k l",
|
||||
/* Wrong, it should really be:
|
||||
expected: "a bcd efg h\ni j k l",
|
||||
*/
|
||||
},
|
||||
{
|
||||
input: [][]string{{"abc", "", "d", ""}, {"e", "", "f", ""}},
|
||||
|
Reference in New Issue
Block a user