]> granicus.if.org Git - vim/commitdiff
patch 8.2.1740: test fails without the terminal feature v8.2.1740
authorBram Moolenaar <Bram@vim.org>
Fri, 25 Sep 2020 20:13:05 +0000 (22:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 25 Sep 2020 20:13:05 +0000 (22:13 +0200)
Problem:    Test fails without the terminal feature.
Solution:   Skip test if the terminal feature is not available.

src/testdir/test_vim9_script.vim
src/version.c

index 4a4047fb34f9d87af3f8eb2ec70cdbe7ce168fa9..dee4503cf3abd16f58a0c4001eddc41646789273 100644 (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()
index 374f5a114e609fc538af2bc2b2fd76dd9fd09aa8..4295f2f68cf0c5ca689f59adc6a972accb45a4a3 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1740,
 /**/
     1739,
 /**/