summaryrefslogtreecommitdiff
path: root/src/testdir/test_paste.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-24 19:18:13 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-24 19:18:13 +0100
commitbff6ad133195145f810645c0bde7a2a1fdfc37b8 (patch)
treeb78269e7514041241f6a4feb6b7988405ddb3c94 /src/testdir/test_paste.vim
parent48c9f3b123364f368472564a66a9b71dc383558b (diff)
downloadvim-git-bff6ad133195145f810645c0bde7a2a1fdfc37b8.tar.gz
patch 8.0.0233: paste test fails in the GUIv8.0.0233
Problem: The paste test fails if the GUI is being used. Solution: Skip the test in the GUI.
Diffstat (limited to 'src/testdir/test_paste.vim')
-rw-r--r--src/testdir/test_paste.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_paste.vim b/src/testdir/test_paste.vim
index ffd2dfa32..dfe6bdc87 100644
--- a/src/testdir/test_paste.vim
+++ b/src/testdir/test_paste.vim
@@ -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()