diff src/testdir/test_fold.vim @ 23715:b6d8d9578375 v8.2.2399

patch 8.2.2399: fold test fails in wide terminal Commit: https://github.com/vim/vim/commit/7cf0c114d690c91ac88c92a1a6f1b1935cb6410f Author: Bram Moolenaar <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Sun, 24 Jan 2021 12:15:04 +0100
parents 09ad3f1b9714
children 15408ab5fed7
line wrap: on
line diff
--- 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)