mirror of
https://github.com/neovim/neovim.git
synced 2026-04-24 00:05:36 +00:00
docs(powershell): use tee.exe instead of Tee-Object
Problem: Tee-Object does not create a file if it does not receive input for example when :grep does not find matches. and so nvim tries to open a nonexistent errorfile causing an error. Solution: use tee.exe instead of Tee-Object
This commit is contained in:
@@ -24,10 +24,8 @@ describe(':make', function()
|
||||
it('captures stderr & non zero exit code #14349', function ()
|
||||
nvim('set_option', 'makeprg', testprg('shell-test')..' foo')
|
||||
local out = eval('execute("make")')
|
||||
-- Make program exit code correctly captured
|
||||
matches('\nshell returned 3', out)
|
||||
-- Error message is captured in the file and printed in the footer
|
||||
matches('\n.*%: Unknown first argument%: foo', out)
|
||||
matches('[\r\n]+.*[\r\n]+Unknown first argument%: foo[\r\n]+%(1 of 1%)%: Unknown first argument%: foo', out)
|
||||
end)
|
||||
|
||||
it('captures stderr & zero exit code #14349', function ()
|
||||
|
||||
Reference in New Issue
Block a user