Skip to content

Commit 7cf0c11

Browse files
committed
patch 8.2.2399: fold test fails in wide terminal
Problem: Fold test fails in wide terminal. Solution: Adjust the test. (Dominique Pelle, closes #7731, closes #7739)
1 parent 40be52b commit 7cf0c11

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_fold.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ func Test_fold_relative_move()
864864
set fdm=indent sw=2 wrap tw=80
865865

866866
let content = [ ' foo', ' bar', ' baz',
867-
\ repeat('x', 100),
867+
\ repeat('x', &columns + 1),
868868
\ ' foo', ' bar', ' baz'
869869
\ ]
870870
call append(0, content)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2399,
753755
/**/
754756
2398,
755757
/**/

0 commit comments

Comments
 (0)