From a364ee53a82fbdf767337494e28f3ee182d80578 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Fri, 8 Aug 2025 11:24:23 +0200 Subject: [PATCH] Cleanup: remove duplicate test case This is identical to the one right before. --- pkg/utils/lines_test.go | 14 -------------- 1 file changed, 14 deletions(-) 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,