Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
23714:a2a4b9b9658f | 23715:b6d8d9578375 |
---|---|
862 func Test_fold_relative_move() | 862 func Test_fold_relative_move() |
863 enew! | 863 enew! |
864 set fdm=indent sw=2 wrap tw=80 | 864 set fdm=indent sw=2 wrap tw=80 |
865 | 865 |
866 let content = [ ' foo', ' bar', ' baz', | 866 let content = [ ' foo', ' bar', ' baz', |
867 \ repeat('x', 100), | 867 \ repeat('x', &columns + 1), |
868 \ ' foo', ' bar', ' baz' | 868 \ ' foo', ' bar', ' baz' |
869 \ ] | 869 \ ] |
870 call append(0, content) | 870 call append(0, content) |
871 | 871 |
872 normal zM | 872 normal zM |