0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.1.1840: Testing: WorkingClipboard() is not accurate

Problem:    Testing: WorkingClipboard() is not accurate.
Solution:   Check feature clipboard_working instead.
This commit is contained in:
Bram Moolenaar
2019-08-12 14:20:33 +02:00
parent 0b5dc64446
commit 52992feafe
5 changed files with 7 additions and 20 deletions

View File

@@ -70,9 +70,8 @@ func Test_paste_insert_mode()
endfunc
func Test_paste_clipboard()
if !WorkingClipboard()
return
endif
CheckFeature clipboard_working
let @+ = "nasty\<Esc>:!ls\<CR>command"
new
exe "normal i\<C-R>+\<Esc>"