diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/functional/clipboard/clipboard_provider_spec.lua | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/test/functional/clipboard/clipboard_provider_spec.lua b/test/functional/clipboard/clipboard_provider_spec.lua index c1c56c94c1..f1e011f12d 100644 --- a/test/functional/clipboard/clipboard_provider_spec.lua +++ b/test/functional/clipboard/clipboard_provider_spec.lua @@ -160,6 +160,22 @@ describe('clipboard usage', function()        linewise stuff]])    end) +  it('supports :put', function() +    insert("a line") +    execute("let g:test_clip['*'] = ['some text']") +    execute("let g:test_clip['+'] = ['more', 'text', '']") +    execute(":put *") +    expect([[ +    a line +    some text]]) +    execute(":put +") +    expect([[ +    a line +    some text +    more +    text]]) +  end) +    it('supports "+ and "* in registers', function()      local screen = Screen.new(60, 10)      screen:attach() | 
