We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0dcf7d commit a364ee5Copy full SHA for a364ee5
pkg/utils/lines_test.go
@@ -405,20 +405,6 @@ func TestWrapViewLinesToWidth(t *testing.T) {
405
expectedWrappedLinesIndices: []int{0, 1, 2},
406
expectedOriginalLinesIndices: []int{0, 1, 2},
407
},
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
422
{
423
name: "Keep blank line at end if editable",
424
wrap: true,
0 commit comments