From 61abe7d8f827ec31f098e8abcdf58846b956ef16 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 30 Aug 2022 21:46:08 +0100 Subject: 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. --- src/testdir/test_buffer.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/testdir/test_buffer.vim') 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 " 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 = ":\eexecute(\"normal \\")\\" call assert_fails("call feedkeys(cmd, 'xt')", 'E565:') %bw! -- cgit v1.2.3