mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-10 22:42:00 +02:00
Cleanup: remove duplicate test case
This is identical to the one right before.
This commit is contained in:
@@ -405,20 +405,6 @@ func TestWrapViewLinesToWidth(t *testing.T) {
|
||||
expectedWrappedLinesIndices: []int{0, 1, 2},
|
||||
expectedOriginalLinesIndices: []int{0, 1, 2},
|
||||
},
|
||||
{
|
||||
name: "Avoid blank line at end if not editable",
|
||||
wrap: true,
|
||||
editable: false,
|
||||
text: "First\nSecond\nThird\n",
|
||||
width: 10,
|
||||
expectedWrappedLines: []string{
|
||||
"First",
|
||||
"Second",
|
||||
"Third",
|
||||
},
|
||||
expectedWrappedLinesIndices: []int{0, 1, 2},
|
||||
expectedOriginalLinesIndices: []int{0, 1, 2},
|
||||
},
|
||||
{
|
||||
name: "Keep blank line at end if editable",
|
||||
wrap: true,
|
||||
|
Reference in New Issue
Block a user