diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-30 21:46:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-30 21:46:08 +0100 |
commit | 61abe7d8f827ec31f098e8abcdf58846b956ef16 (patch) | |
tree | 0cf4ec692b77aeb1be2c1a38d3ff32973aaca45e /src/testdir/test_buffer.vim | |
parent | 9b03d3e75b4274493bbe76772d7b92238791964c (diff) |
patch 9.0.0336: tests are flaky because of using a common file namev9.0.0336
Problem: Tests are flaky because of using a common file name.
Solution: Rename files and directories to be more unique.
Diffstat (limited to 'src/testdir/test_buffer.vim')
-rw-r--r-- | src/testdir/test_buffer.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/test_buffer.vim b/src/testdir/test_buffer.vim index c7dd136883..0d1741d642 100644 --- a/src/testdir/test_buffer.vim +++ b/src/testdir/test_buffer.vim @@ -141,7 +141,7 @@ func Test_bdelete_cmd() call assert_fails('bdelete \)', 'E55:') " Deleting a unlisted and unloaded buffer - edit Xfile1 + edit Xbdelfile1 let bnr = bufnr() set nobuflisted enew @@ -315,8 +315,8 @@ endfunc " Test for trying to load a buffer with text locked " <C-\>e in the command line is used to lock the text func Test_load_buf_with_text_locked() - new Xfile1 - edit Xfile2 + new Xlockfile1 + edit Xlockfile2 let cmd = ":\<C-\>eexecute(\"normal \<C-O>\")\<CR>\<C-C>" call assert_fails("call feedkeys(cmd, 'xt')", 'E565:') %bw! |