0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -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:
Bram Moolenaar
2020-09-25 23:12:51 +02:00
parent 6a33ef0deb
commit 7e9210ea53
2 changed files with 8 additions and 1 deletions

View File

@@ -2831,9 +2831,14 @@ def Test_unset_any_variable()
CheckDefAndScriptSuccess(lines) CheckDefAndScriptSuccess(lines)
enddef enddef
def Test_define_func_at_command_line() func Test_define_func_at_command_line()
CheckRunVimInTerminal 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 # run in a separate Vim instance to avoid the script context
let lines =<< trim END let lines =<< trim END
func CheckAndQuit() func CheckAndQuit()

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1742,
/**/ /**/
1741, 1741,
/**/ /**/