mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.1742: test still fails without the terminal feature
Problem: Test still fails without the terminal feature. Solution: Put check for terminal feature in separate function.
This commit is contained in:
@@ -2831,9 +2831,14 @@ def Test_unset_any_variable()
|
||||
CheckDefAndScriptSuccess(lines)
|
||||
enddef
|
||||
|
||||
def Test_define_func_at_command_line()
|
||||
func Test_define_func_at_command_line()
|
||||
CheckRunVimInTerminal
|
||||
|
||||
" call indirectly to avoid compilation error for missing functions
|
||||
call Run_Test_define_func_at_command_line()
|
||||
endfunc
|
||||
|
||||
def Run_Test_define_func_at_command_line()
|
||||
# run in a separate Vim instance to avoid the script context
|
||||
let lines =<< trim END
|
||||
func CheckAndQuit()
|
||||
|
Reference in New Issue
Block a user