mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: save clipboard
This commit is contained in:
parent
9bcbb7f9d2
commit
c11cf6b415
@ -44,6 +44,7 @@ endfunc
|
||||
|
||||
func Test_display_registers()
|
||||
" Disable clipboard
|
||||
let save_clipboard = g:clipboard
|
||||
let g:clipboard = {}
|
||||
|
||||
e file1
|
||||
@ -81,6 +82,7 @@ func Test_display_registers()
|
||||
\ . ' c ": ls', a)
|
||||
|
||||
bwipe!
|
||||
let g:clipboard = save_clipboard
|
||||
endfunc
|
||||
|
||||
func Test_recording_status_in_ex_line()
|
||||
|
Loading…
Reference in New Issue
Block a user