aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2015-04-08 21:47:24 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2015-04-11 11:11:52 +0200
commit9978a01faa14f46f059119ae8bac6a2be944394d (patch)
tree80b6d85eee83d7a586b335c297cf696d40991605 /test
parent941b02af4cca9fb98c6ee4a8dd4aa800bd337deb (diff)
downloadrneovim-9978a01faa14f46f059119ae8bac6a2be944394d.tar.gz
rneovim-9978a01faa14f46f059119ae8bac6a2be944394d.tar.bz2
rneovim-9978a01faa14f46f059119ae8bac6a2be944394d.zip
clipboard: fix "" register not updated when clipboard=unnamed
Helped-By: Scott Prager <splinterofchaos@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/functional/clipboard/clipboard_provider_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/clipboard/clipboard_provider_spec.lua b/test/functional/clipboard/clipboard_provider_spec.lua
index 10a346b8ba..c5d8f57008 100644
--- a/test/functional/clipboard/clipboard_provider_spec.lua
+++ b/test/functional/clipboard/clipboard_provider_spec.lua
@@ -55,6 +55,12 @@ local function basic_register_test(noblock)
, stuff and some more
some textsome some text, stuff and some more]])
+ -- deleting a line does update ""
+ feed('ggdd""P')
+ expect([[
+ , stuff and some more
+ some textsome some text, stuff and some more]])
+
feed('ggw<c-v>jwyggP')
if noblock then
expect([[