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)
diff --git a/src/testdir/test_fold.vim b/src/testdir/test_fold.vim
index 895a96b..8206193 100644
--- a/src/testdir/test_fold.vim
+++ b/src/testdir/test_fold.vim
@@ -864,7 +864,7 @@
set fdm=indent sw=2 wrap tw=80
let content = [ ' foo', ' bar', ' baz',
- \ repeat('x', 100),
+ \ repeat('x', &columns + 1),
\ ' foo', ' bar', ' baz'
\ ]
call append(0, content)
diff --git a/src/version.c b/src/version.c
index 568756b3..55ce713 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2399,
+/**/
2398,
/**/
2397,