runtime(indent-tests): Use silent write of resulting files
Commit:
https://github.com/vim/vim/commit/bc461f952d854ffbde83eb74044efc3b329ea10e
Author: RestorerZ <[email protected]>
Date: Tue Aug 26 21:54:29 2025 +0200
runtime(indent-tests): Use silent write of resulting files
To avoid littering the terminal output use :silent write.
closes: #18128
Signed-off-by: RestorerZ <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/indent/testdir/runtest.vim
b/runtime/indent/testdir/runtest.vim
index dde8c5c47..60b6b0183 100644
--- a/runtime/indent/testdir/runtest.vim
+++ b/runtime/indent/testdir/runtest.vim
@@ -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
"
endif
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uqzpv-003sR2-Qr%40256bit.org.