diff options
| author | James McCoy <jamessan@jamessan.com> | 2017-02-02 19:45:34 -0500 | 
|---|---|---|
| committer | James McCoy <jamessan@jamessan.com> | 2017-02-02 19:52:06 -0500 | 
| commit | 7e30fe315786c9e10817f87e5b80da70807e9cb1 (patch) | |
| tree | 343abb694904afae3085076bdd22ac3341ac310d /test/functional/eval/system_spec.lua | |
| parent | e8899178ec34e8432fc2e63f2970b0962e72c74c (diff) | |
| download | rneovim-7e30fe315786c9e10817f87e5b80da70807e9cb1.tar.gz rneovim-7e30fe315786c9e10817f87e5b80da70807e9cb1.tar.bz2 rneovim-7e30fe315786c9e10817f87e5b80da70807e9cb1.zip | |
test: Make xclip exit after one selection request
Closes #4900
Diffstat (limited to 'test/functional/eval/system_spec.lua')
| -rw-r--r-- | test/functional/eval/system_spec.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/test/functional/eval/system_spec.lua b/test/functional/eval/system_spec.lua index d5845132dd..96cfd5a31a 100644 --- a/test/functional/eval/system_spec.lua +++ b/test/functional/eval/system_spec.lua @@ -266,7 +266,7 @@ describe('system()', function()        pending('missing `xclip`', function() end)      else        it('will exit properly after passing input', function() -        eq('', eval([[system('xclip -i -selection clipboard', 'clip-data')]])) +        eq('', eval([[system('xclip -i -loops 1 -selection clipboard', 'clip-data')]]))          eq('clip-data', eval([[system('xclip -o -selection clipboard')]]))        end)      end @@ -440,7 +440,7 @@ describe('systemlist()', function()      else        it('will exit properly after passing input', function()          eq({}, eval( -          "systemlist('xclip -i -selection clipboard', ['clip', 'data'])")) +          "systemlist('xclip -i -loops 1 -selection clipboard', ['clip', 'data'])"))          eq({'clip', 'data'}, eval(            "systemlist('xclip -o -selection clipboard')"))        end) | 
