diff options
author | T727 <74924917+T-727@users.noreply.github.com> | 2023-04-22 13:04:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 12:04:05 +0200 |
commit | d9f78b63361e00a7f623ebb5b869606ac653b180 (patch) | |
tree | 35760a843eb7eae6ecfa4d8124bbee53c242c1e4 /test/functional/ex_cmds/make_spec.lua | |
parent | e9b85acfbb8d3b1dd6f92deb187800be757c6c68 (diff) | |
download | rneovim-d9f78b63361e00a7f623ebb5b869606ac653b180.tar.gz rneovim-d9f78b63361e00a7f623ebb5b869606ac653b180.tar.bz2 rneovim-d9f78b63361e00a7f623ebb5b869606ac653b180.zip |
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
Diffstat (limited to 'test/functional/ex_cmds/make_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/make_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/ex_cmds/make_spec.lua b/test/functional/ex_cmds/make_spec.lua index f42e21e4cb..8d903330b1 100644 --- a/test/functional/ex_cmds/make_spec.lua +++ b/test/functional/ex_cmds/make_spec.lua @@ -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 () |