mirror of
https://github.com/neovim/neovim.git
synced 2025-12-01 14:33:11 +00:00
Merge PR #1948 'Remove nondeterminism in systemlist interrupt tests'
This commit is contained in:
@@ -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([[
|
||||||
^ |
|
^ |
|
||||||
|
|||||||
Reference in New Issue
Block a user