Skip to content

Commit a364ee5

Browse files
committed
Cleanup: remove duplicate test case
This is identical to the one right before.
1 parent c0dcf7d commit a364ee5

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

pkg/utils/lines_test.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -405,20 +405,6 @@ func TestWrapViewLinesToWidth(t *testing.T) {
405405
expectedWrappedLinesIndices: []int{0, 1, 2},
406406
expectedOriginalLinesIndices: []int{0, 1, 2},
407407
},
408-
{
409-
name: "Avoid blank line at end if not editable",
410-
wrap: true,
411-
editable: false,
412-
text: "First\nSecond\nThird\n",
413-
width: 10,
414-
expectedWrappedLines: []string{
415-
"First",
416-
"Second",
417-
"Third",
418-
},
419-
expectedWrappedLinesIndices: []int{0, 1, 2},
420-
expectedOriginalLinesIndices: []int{0, 1, 2},
421-
},
422408
{
423409
name: "Keep blank line at end if editable",
424410
wrap: true,

0 commit comments

Comments
 (0)