mirror of
https://github.com/neovim/neovim.git
synced 2026-04-30 19:24:09 +00:00
Problem: tests: when the file 'TestCommand?Test' exists,
'Test_complete_cmdline()' will fail when writing the file. And
there's no related cleaning operation for this kind of file
before the test run.
Solution: modify `write` to `write!` to override (Jim Zhou).
closes: vim/vim#16799
f7087cbec7
Co-authored-by: Jim Zhou <jimzhouzzy@gmail.com>