Mercurial > vim
diff src/testdir/test_cpoptions.vim @ 29997:98f5a0618a77 v9.0.0336
patch 9.0.0336: tests are flaky because of using a common file name
Commit: https://github.com/vim/vim/commit/61abe7d8f827ec31f098e8abcdf58846b956ef16
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 30 21:46:08 2022 +0100
patch 9.0.0336: tests are flaky because of using a common file name
Problem: Tests are flaky because of using a common file name.
Solution: Rename files and directories to be more unique.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 30 Aug 2022 23:00:05 +0200 |
parents | f3804bc56d33 |
children | f7a2de8a4ddc |
line wrap: on
line diff
--- a/src/testdir/test_cpoptions.vim +++ b/src/testdir/test_cpoptions.vim @@ -31,17 +31,17 @@ func Test_cpo_A() " Wipe out all the buffers, so that the alternate file is empty edit Xfoo | %bw set cpo-=A - new Xfile1 - write Xfile2 + new XcpoAfile1 + write XcpoAfile2 call assert_equal('', @#) %bw - call delete('Xfile2') - new Xfile1 + call delete('XcpoAfile2') + new XcpoAfile1 set cpo+=A - write Xfile2 - call assert_equal('Xfile2', @#) + write XcpoAfile2 + call assert_equal('XcpoAfile2', @#) close! - call delete('Xfile2') + call delete('XcpoAfile2') let &cpo = save_cpo endfunc