test: functional: Remove unnecessary use of clipboard register

menu_spec.lua yanks to the clipboard, but never pastes from it.  This
can leave a child xsel process waiting around for something to paste the
content, causing the test process to hang.

Since the test isn't explicitly trying to exercise the clipboard, simply
use the default register.
This commit is contained in:
James McCoy
2016-06-06 22:01:55 -04:00
parent bec5fd5809
commit d45a665b00

View File

@@ -39,7 +39,7 @@ describe(':emenu', function()
end)
it('executes correct bindings in command mode', function()
feed('ithis is a sentence<esc>^"+yiwo<esc>')
feed('ithis is a sentence<esc>^yiwo<esc>')
-- Invoke "Edit.Paste" in normal-mode.
nvim('command', 'emenu Edit.Paste')