mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
Add test case for 'null' stdin mode
This commit is contained in:

committed by
James McCoy

parent
008b83f5a2
commit
3a0543bd61
@@ -348,6 +348,12 @@ describe('jobs', function()
|
||||
eq(false, pcall(function()
|
||||
nvim('command', 'call jobsend(j, ["some data"])')
|
||||
end))
|
||||
|
||||
command("let g:job_opts.stdin = 'null'")
|
||||
nvim('command', "let j = jobstart(['cat', '-'], g:job_opts)")
|
||||
eq(false, pcall(function()
|
||||
nvim('command', 'call jobsend(j, ["some data"])')
|
||||
end))
|
||||
end)
|
||||
|
||||
it('disallows jobsend on a non-existent job', function()
|
||||
|
Reference in New Issue
Block a user