comparison src/testdir/test_search.vim @ 20625:116c7bd5e980 v8.2.0866

patch 8.2.0866: not enough tests for buffer writing Commit: https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 31 21:28:02 2020 +0200 patch 8.2.0866: not enough tests for buffer writing Problem: Not enough tests for buffer writing. Solution: Add more tests. Use CheckRunVimInTerminal in more places. (Yegappan Lakshmanan, closes #6167)
author Bram Moolenaar <Bram@vim.org>
date Sun, 31 May 2020 21:30:03 +0200
parents a4bd28e2cf1d
children a1b20eb19483
comparison
equal deleted inserted replaced
20624:f782c48d548a 20625:116c7bd5e980
884 884
885 call Incsearch_cleanup() 885 call Incsearch_cleanup()
886 endfunc 886 endfunc
887 887
888 func Test_incsearch_scrolling() 888 func Test_incsearch_scrolling()
889 if !CanRunVimInTerminal() 889 CheckRunVimInTerminal
890 throw 'Skipped: cannot make screendumps'
891 endif
892 call assert_equal(0, &scrolloff) 890 call assert_equal(0, &scrolloff)
893 call writefile([ 891 call writefile([
894 \ 'let dots = repeat(".", 120)', 892 \ 'let dots = repeat(".", 120)',
895 \ 'set incsearch cmdheight=2 scrolloff=0', 893 \ 'set incsearch cmdheight=2 scrolloff=0',
896 \ 'call setline(1, [dots, dots, dots, "", "target", dots, dots])', 894 \ 'call setline(1, [dots, dots, dots, "", "target", dots, dots])',