diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-10-26 21:53:11 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-10-26 22:16:58 +0800 |
commit | 157baef02636fed4a99ef401e470fee8c51ce852 (patch) | |
tree | 87a44eb280fa81477ef81a767b14d16f9925af26 /src/nvim/testdir/test_options.vim | |
parent | c00e711d5a860fb019f594d164b4327d942313f8 (diff) | |
download | rneovim-157baef02636fed4a99ef401e470fee8c51ce852.tar.gz rneovim-157baef02636fed4a99ef401e470fee8c51ce852.tar.bz2 rneovim-157baef02636fed4a99ef401e470fee8c51ce852.zip |
vim-patch:8.1.1826: tests use hand coded feature and option checks
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
https://github.com/vim/vim/commit/8c5a278fc508da6dfe50e69b6ee734451aa4eafb
Omit Test_wincolor(): there are later patches that touch that function.
Omit test_memory_usage.vim: a Lua test is used for that file.
Cherry-pick Test_issue_3969() from patch 8.1.0969.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
-rw-r--r-- | src/nvim/testdir/test_options.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim index ada6d2406b..8fc4968ad9 100644 --- a/src/nvim/testdir/test_options.vim +++ b/src/nvim/testdir/test_options.vim @@ -432,9 +432,8 @@ endfunc " Must be executed before other tests that set 'term'. func Test_000_term_option_verbose() - if has('nvim') || has('gui_running') - return - endif + throw "Skipped: Nvim does not support setting 'term'" + CheckNotGui call CheckWasNotSet('t_cm') |