mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
test: save clipboard
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user