]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1174: tests: Test_complete_cmdline() may fail v9.1.1174
authorJim Zhou <jimzhouzzy@gmail.com>
Wed, 5 Mar 2025 19:25:11 +0000 (20:25 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 5 Mar 2025 19:25:11 +0000 (20:25 +0100)
commitf7087cbec7ec1d32465c2460f2665725c8d3a06a
tree50075dfd132e426e1e7c4e551f1241daf56b8fb7
parent4783a2c073ecc075a6d1b23414901e78e1f18383
patch 9.1.1174: tests: Test_complete_cmdline() may fail

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: #16799

Signed-off-by: Jim Zhou <jimzhouzzy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_ins_complete.vim
src/version.c