diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 08:07:06 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 09:25:31 +0800 |
| commit | 40ca9b9528e5a4f043f0e6858786bf0c3d992a90 (patch) | |
| tree | d91c5301c4c9c9bb93477d7c1877d7bf1370dac5 /src/nvim/testdir/test_match.vim | |
| parent | e30929cda5cad8afb384cdb5b1ce62758dca6bde (diff) | |
| download | rneovim-40ca9b9528e5a4f043f0e6858786bf0c3d992a90.tar.gz rneovim-40ca9b9528e5a4f043f0e6858786bf0c3d992a90.tar.bz2 rneovim-40ca9b9528e5a4f043f0e6858786bf0c3d992a90.zip | |
vim-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 vim/vim#6167)
https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
Diffstat (limited to 'src/nvim/testdir/test_match.vim')
| -rw-r--r-- | src/nvim/testdir/test_match.vim | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/testdir/test_match.vim b/src/nvim/testdir/test_match.vim index 352493de9c..29d087bc23 100644 --- a/src/nvim/testdir/test_match.vim +++ b/src/nvim/testdir/test_match.vim @@ -343,9 +343,7 @@ func Test_matchdelete_error() endfunc func Test_matchclear_other_window() - if !CanRunVimInTerminal() - throw 'Skipped: cannot make screendumps' - endif + CheckRunVimInTerminal let buf = OtherWindowCommon() call term_sendkeys(buf, ":call clearmatches(winid)\<CR>") call VerifyScreenDump(buf, 'Test_matchclear_1', {}) @@ -355,9 +353,7 @@ func Test_matchclear_other_window() endfunc func Test_matchadd_other_window() - if !CanRunVimInTerminal() - throw 'Skipped: cannot make screendumps' - endif + CheckRunVimInTerminal let buf = OtherWindowCommon() call term_sendkeys(buf, ":call matchadd('Search', 'Hello', 1, -1, #{window: winid})\<CR>") call term_sendkeys(buf, ":\<CR>") |