1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2021-12-02 12:30:22 +00:00
parent 3569c0de67
commit f8bc0ce267
2 changed files with 8 additions and 6 deletions

View File

@@ -389,12 +389,12 @@ func Test_buffer_scheme()
set noshellslash set noshellslash
%bwipe! %bwipe!
let bufnames = [ let bufnames = [
\ #{id: 'b0', name: 'test://xyz/foo/b0' , match: 1}, \ #{id: 'ssb0', name: 'test://xyz/foo/ssb0' , match: 1},
\ #{id: 'b1', name: 'test+abc://xyz/foo/b1', match: 0}, \ #{id: 'ssb1', name: 'test+abc://xyz/foo/ssb1', match: 0},
\ #{id: 'b2', name: 'test_abc://xyz/foo/b2', match: 0}, \ #{id: 'ssb2', name: 'test_abc://xyz/foo/ssb2', match: 0},
\ #{id: 'b3', name: 'test-abc://xyz/foo/b3', match: 1}, \ #{id: 'ssb3', name: 'test-abc://xyz/foo/ssb3', match: 1},
\ #{id: 'b4', name: '-test://xyz/foo/b4' , match: 0}, \ #{id: 'ssb4', name: '-test://xyz/foo/ssb4' , match: 0},
\ #{id: 'b5', name: 'test-://xyz/foo/b5' , match: 0}, \ #{id: 'ssb5', name: 'test-://xyz/foo/ssb5' , match: 0},
\] \]
for buf in bufnames for buf in bufnames
new `=buf.name` new `=buf.name`

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
3719,
/**/ /**/
3718, 3718,
/**/ /**/