Skip to content

Commit bc461f9

Browse files
RestorerZchrisbra
authored andcommitted
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>
1 parent 46ff48b commit bc461f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/indent/testdir/runtest.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ for fname in glob('testdir/*.in', 1, 1)
125125

126126
if failed
127127
let failed_count += 1
128-
exe 'write ' .. root .. '.fail'
128+
silent exe 'write ' .. root .. '.fail'
129129
echoerr 'Test ' .. fname .. ' FAILED!'
130130
else
131-
exe 'write ' .. root .. '.out'
131+
silent exe 'write ' .. root .. '.out'
132132
echo "Test " .. fname .. " OK\n"
133133
endif
134134

0 commit comments

Comments
 (0)