aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-06 16:31:33 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-11-06 16:49:16 +0800
commit7add38233e53f9813b50558b00644db669b6b309 (patch)
treef0c2d9954c328c3fbe1b6f5be2dcb13236f0b2fb
parentcac576322d4b22c0fa7ba7564ba7ca9656fc96b9 (diff)
downloadrneovim-7add38233e53f9813b50558b00644db669b6b309.tar.gz
rneovim-7add38233e53f9813b50558b00644db669b6b309.tar.bz2
rneovim-7add38233e53f9813b50558b00644db669b6b309.zip
vim-patch:8.2.3719: MS-Windows: test sometimes runs into existing swap file
Problem: MS-Windows: test sometimes runs into existing swap file. Solution: Use a different file name. https://github.com/vim/vim/commit/f8bc0ce2671d7f7f73760f665b52e4f00a1bbcac Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--src/nvim/testdir/test_buffer.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/testdir/test_buffer.vim b/src/nvim/testdir/test_buffer.vim
index f4aa3b5238..d8d22ff872 100644
--- a/src/nvim/testdir/test_buffer.vim
+++ b/src/nvim/testdir/test_buffer.vim
@@ -402,12 +402,12 @@ func Test_buffer_scheme()
set noshellslash
%bwipe!
let bufnames = [
- \ #{id: 'b0', name: 'test://xyz/foo/b0' , match: 1},
- \ #{id: 'b1', name: 'test+abc://xyz/foo/b1', match: 0},
- \ #{id: 'b2', name: 'test_abc://xyz/foo/b2', match: 0},
- \ #{id: 'b3', name: 'test-abc://xyz/foo/b3', match: 1},
- \ #{id: 'b4', name: '-test://xyz/foo/b4' , match: 0},
- \ #{id: 'b5', name: 'test-://xyz/foo/b5' , match: 0},
+ \ #{id: 'ssb0', name: 'test://xyz/foo/ssb0' , match: 1},
+ \ #{id: 'ssb1', name: 'test+abc://xyz/foo/ssb1', match: 0},
+ \ #{id: 'ssb2', name: 'test_abc://xyz/foo/ssb2', match: 0},
+ \ #{id: 'ssb3', name: 'test-abc://xyz/foo/ssb3', match: 1},
+ \ #{id: 'ssb4', name: '-test://xyz/foo/ssb4' , match: 0},
+ \ #{id: 'ssb5', name: 'test-://xyz/foo/ssb5' , match: 0},
\]
for buf in bufnames
new `=buf.name`