]> granicus.if.org Git - vim/commitdiff
patch 8.0.0233: paste test fails in the GUI v8.0.0233
authorBram Moolenaar <Bram@vim.org>
Tue, 24 Jan 2017 18:18:13 +0000 (19:18 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 24 Jan 2017 18:18:13 +0000 (19:18 +0100)
Problem:    The paste test fails if the GUI is being used.
Solution:   Skip the test in the GUI.

src/testdir/test_paste.vim
src/version.c

index ffd2dfa32f9ed9893b5e54440fc4c0ca0648a29e..dfe6bdc875ae884c09bc730cd21ac911a5378747 100644 (file)
@@ -1,6 +1,9 @@
 " Tests for bracketed paste.
 
-" Bracketed paste only works with "xterm".
+" Bracketed paste only works with "xterm".  Not in GUI.
+if has('gui_running')
+  finish
+endif
 set term=xterm
 
 func Test_paste_normal_mode()
index c7ef2bec560d6307409f1e18df2e96f87d6fe5ae..1b78243549dbce895084218565ac3d9c836606af 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    233,
 /**/
     232,
 /**/