summaryrefslogtreecommitdiff
path: root/src/testdir/test_quotestar.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-28 13:00:12 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-28 13:00:12 +0200
commit564344ace9ef06b22e4e60a0196c41b410ac27da (patch)
tree1d3ed252199bd1d5e8c97c893e0478582fa03912 /src/testdir/test_quotestar.vim
parentdcaa54dded7c7ef9b2217a205d23301d313e96dc (diff)
downloadvim-git-564344ace9ef06b22e4e60a0196c41b410ac27da.tar.gz
patch 8.1.1223: middle mouse click test fails without a clipboardv8.1.1223
Problem: Middle mouse click test fails without a clipboard. Solution: Check if the clipboard can be used. (Dominique Pelle, Christian Brabandt) Also use WorkingClipboard() instead of checking for the "clipboard" feature.
Diffstat (limited to 'src/testdir/test_quotestar.vim')
-rw-r--r--src/testdir/test_quotestar.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_quotestar.vim b/src/testdir/test_quotestar.vim
index c7e38aef6..1334201a7 100644
--- a/src/testdir/test_quotestar.vim
+++ b/src/testdir/test_quotestar.vim
@@ -1,6 +1,7 @@
" *-register (quotestar) tests
-if !has('clipboard')
+source shared.vim
+if !WorkingClipboard()
finish
endif