]> granicus.if.org Git - vim/commitdiff
patch 8.1.0446: options test fails in the GUI v8.1.0446
authorBram Moolenaar <Bram@vim.org>
Tue, 2 Oct 2018 13:06:40 +0000 (15:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 2 Oct 2018 13:06:40 +0000 (15:06 +0200)
Problem:    Options test fails in the GUI.
Solution:   Don't try changing 'term' in the GUI.

src/testdir/test_options.vim
src/version.c

index 851da1ed16beec69d774eaa92dbe09e5e3420b83..d3ac21cd8941a48b8b70fdf781998cedff28040f 100644 (file)
@@ -272,6 +272,9 @@ endfunc
 
 " Must be executed before other tests that set 'term'.
 func Test_000_term_option_verbose()
+  if has('gui_running')
+    return
+  endif
   let verb_cm = execute('verbose set t_cm')
   call assert_notmatch('Last set from', verb_cm)
 
index f4a463759e0d33d4784bcb0616e48a579a40b138..c5153eca7b090d421aa1fcc9583812d2c9122410 100644 (file)
@@ -792,6 +792,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    446,
 /**/
     445,
 /**/