mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Cleanup: remove duplicate test case
This is identical to the one right before.
This commit is contained in:
parent
c0dcf7d0ad
commit
a364ee53a8
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue