mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge PR #1948 'Remove nondeterminism in systemlist interrupt tests'
This commit is contained in:
commit
28dcfcf325
@ -248,7 +248,7 @@ describe('systemlist()', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
it('`yes` and is directly interrupted with CTRL-C', function()
|
it('`yes` and is directly interrupted with CTRL-C', function()
|
||||||
feed(':call systemlist("echo")<cr><c-c>')
|
feed(':call systemlist("yes | xargs")<cr><c-c>')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
^ |
|
^ |
|
||||||
~ |
|
~ |
|
||||||
@ -268,7 +268,7 @@ describe('systemlist()', function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
it('`yes` and is a little bit later interrupted with CTRL-C', function()
|
it('`yes` and is a little bit later interrupted with CTRL-C', function()
|
||||||
feed(':call systemlist("echo")<cr>')
|
feed(':call systemlist("yes | xargs")<cr>')
|
||||||
feed('<c-c>')
|
feed('<c-c>')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
^ |
|
^ |
|
||||||
|
Loading…
Reference in New Issue
Block a user