mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
runtime(indent-tests): Use silent write of resulting files
To avoid littering the terminal output use :silent write. closes: #18128 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
46ff48ba77
commit
bc461f952d
@@ -125,10 +125,10 @@ for fname in glob('testdir/*.in', 1, 1)
|
|||||||
|
|
||||||
if failed
|
if failed
|
||||||
let failed_count += 1
|
let failed_count += 1
|
||||||
exe 'write ' .. root .. '.fail'
|
silent exe 'write ' .. root .. '.fail'
|
||||||
echoerr 'Test ' .. fname .. ' FAILED!'
|
echoerr 'Test ' .. fname .. ' FAILED!'
|
||||||
else
|
else
|
||||||
exe 'write ' .. root .. '.out'
|
silent exe 'write ' .. root .. '.out'
|
||||||
echo "Test " .. fname .. " OK\n"
|
echo "Test " .. fname .. " OK\n"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user