aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_buffer.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-13 09:08:02 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-11-13 09:26:59 +0800
commitb9cffe40fa8e23551e61e129674643ee42da2caf (patch)
tree86f0ae4819256c375f855bf6d42a6f7135f73ed2 /test/old/testdir/test_buffer.vim
parent5c69f8569ad2013b1d97afd2fbefd6bda8e8379f (diff)
downloadrneovim-b9cffe40fa8e23551e61e129674643ee42da2caf.tar.gz
rneovim-b9cffe40fa8e23551e61e129674643ee42da2caf.tar.bz2
rneovim-b9cffe40fa8e23551e61e129674643ee42da2caf.zip
vim-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. https://github.com/vim/vim/commit/61abe7d8f827ec31f098e8abcdf58846b956ef16 Cherry-pick Test_custom_complete_autoload() from patch 8.2.4584. Cherry-pick test_delete.vim & test_edit.vim changes from patch 9.0.0323. Cherry-pick test_edit.vim changes from patch 8.2.3637. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/test_buffer.vim')
-rw-r--r--test/old/testdir/test_buffer.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/old/testdir/test_buffer.vim b/test/old/testdir/test_buffer.vim
index 2e5b7491c8..b0b9f4f24b 100644
--- a/test/old/testdir/test_buffer.vim
+++ b/test/old/testdir/test_buffer.vim
@@ -134,7 +134,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
@@ -310,8 +310,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!