summaryrefslogtreecommitdiff
path: root/src/testdir/test_paste.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_paste.vim')
-rw-r--r--src/testdir/test_paste.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_paste.vim b/src/testdir/test_paste.vim
index 194ae7d37..8995b971a 100644
--- a/src/testdir/test_paste.vim
+++ b/src/testdir/test_paste.vim
@@ -135,9 +135,7 @@ func CheckCopyPaste()
endfunc
func Test_xrestore()
- if !has('xterm_clipboard')
- return
- endif
+ CheckFeature xterm_clipboard
let display = $DISPLAY
new
call CheckCopyPaste()