diff --git a/pkg/utils/lines_test.go b/pkg/utils/lines_test.go index a67d59237..973310a33 100644 --- a/pkg/utils/lines_test.go +++ b/pkg/utils/lines_test.go @@ -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,