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_startup.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_startup.vim')
-rw-r--r-- | src/nvim/testdir/test_startup.vim | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim index b8aad1bc46..30bbd355df 100644 --- a/src/nvim/testdir/test_startup.vim +++ b/src/nvim/testdir/test_startup.vim @@ -809,9 +809,7 @@ func Test_issue_3969() endfunc func Test_start_with_tabs() - if !CanRunVimInTerminal() - return - endif + CheckRunVimInTerminal let buf = RunVimInTerminal('-p a b c', {}) call VerifyScreenDump(buf, 'Test_start_with_tabs', {}) @@ -968,9 +966,7 @@ endfunc " Test for specifying a non-existing vimrc file using "-u" func Test_missing_vimrc() - if !CanRunVimInTerminal() - throw 'Skipped: cannot run vim in terminal' - endif + CheckRunVimInTerminal let after =<< trim [CODE] call assert_match('^E282:', v:errmsg) call writefile(v:errors, 'Xtestout') |