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:
@@ -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>"
|
||||
|
Reference in New Issue
Block a user