# HG changeset patch # User Bram Moolenaar # Date 1611486904 -3600 # Node ID b6d8d9578375cf28aaef1e68cfa88382141abca0 # Parent a2a4b9b9658fa1e17f5beda393ae373cc8321dd6 patch 8.2.2399: fold test fails in wide terminal Commit: https://github.com/vim/vim/commit/7cf0c114d690c91ac88c92a1a6f1b1935cb6410f Author: Bram Moolenaar Date: Sun Jan 24 12:00:01 2021 +0100 patch 8.2.2399: fold test fails in wide terminal Problem: Fold test fails in wide terminal. Solution: Adjust the test. (Dominique Pelle, closes https://github.com/vim/vim/issues/7731, closes https://github.com/vim/vim/issues/7739) diff --git a/src/testdir/test_fold.vim b/src/testdir/test_fold.vim --- a/src/testdir/test_fold.vim +++ b/src/testdir/test_fold.vim @@ -864,7 +864,7 @@ func Test_fold_relative_move() 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 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2399, +/**/ 2398, /**/ 2397,