mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
Remove space after rebase todo
This is very old; I can only guess that this was added at a time where today's list column handling wasn't in place yet, so the space was needed to separate columns. This now causes a gap of two spaces between the rebase todo column and the author column, which I'm sure wasn't intended. Funny that I never noticed.
This commit is contained in:
@@ -224,11 +224,11 @@ func TestGetCommitListDisplayStrings(t *testing.T) {
|
||||
cherryPickedCommitHashSet: set.New[string](),
|
||||
now: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
||||
expected: formatExpected(`
|
||||
hash1 pick commit1
|
||||
hash2 pick commit2
|
||||
hash3 ◯ commit3
|
||||
hash4 ◯ commit4
|
||||
hash5 ◯ commit5
|
||||
hash1 pick commit1
|
||||
hash2 pick commit2
|
||||
hash3 ◯ commit3
|
||||
hash4 ◯ commit4
|
||||
hash5 ◯ commit5
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -247,10 +247,10 @@ func TestGetCommitListDisplayStrings(t *testing.T) {
|
||||
cherryPickedCommitHashSet: set.New[string](),
|
||||
now: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
||||
expected: formatExpected(`
|
||||
hash2 pick commit2
|
||||
hash3 ◯ commit3
|
||||
hash4 ◯ commit4
|
||||
hash5 ◯ commit5
|
||||
hash2 pick commit2
|
||||
hash3 ◯ commit3
|
||||
hash4 ◯ commit4
|
||||
hash5 ◯ commit5
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -289,8 +289,8 @@ func TestGetCommitListDisplayStrings(t *testing.T) {
|
||||
cherryPickedCommitHashSet: set.New[string](),
|
||||
now: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
||||
expected: formatExpected(`
|
||||
hash1 pick commit1
|
||||
hash2 pick commit2
|
||||
hash1 pick commit1
|
||||
hash2 pick commit2
|
||||
`),
|
||||
},
|
||||
{
|
||||
@@ -328,8 +328,8 @@ func TestGetCommitListDisplayStrings(t *testing.T) {
|
||||
cherryPickedCommitHashSet: set.New[string](),
|
||||
now: time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC),
|
||||
expected: formatExpected(`
|
||||
hash1 pick commit1
|
||||
hash2 pick commit2
|
||||
hash1 pick commit1
|
||||
hash2 pick commit2
|
||||
`),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user