0
0
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:
RestorerZ
2025-08-26 21:54:29 +02:00
committed by Christian Brabandt
parent 46ff48ba77
commit bc461f952d

View File

@@ -125,10 +125,10 @@ for fname in glob('testdir/*.in', 1, 1)
if failed
let failed_count += 1
exe 'write ' .. root .. '.fail'
silent exe 'write ' .. root .. '.fail'
echoerr 'Test ' .. fname .. ' FAILED!'
else
exe 'write ' .. root .. '.out'
silent exe 'write ' .. root .. '.out'
echo "Test " .. fname .. " OK\n"
endif