1
0
forked from aniani/vim

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()

View File

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