0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.1740: test fails without the terminal feature

Problem:    Test fails without the terminal feature.
Solution:   Skip test if the terminal feature is not available.
This commit is contained in:
Bram Moolenaar
2020-09-25 22:13:05 +02:00
parent 9c4f55204f
commit 58dbef330c
2 changed files with 4 additions and 0 deletions

View File

@@ -2832,6 +2832,8 @@ def Test_unset_any_variable()
enddef
def Test_define_func_at_command_line()
CheckRunVimInTerminal
# run in a separate Vim instance to avoid the script context
let lines =<< trim END
func CheckAndQuit()