0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.1.0255: backup test fails when using shadow directory

Problem:    Backup test fails when using shadow directory.
Solution:   Remove check for "src".
This commit is contained in:
Bram Moolenaar
2018-08-08 11:02:32 +02:00
parent 980bab457e
commit f8f88f89e1
2 changed files with 4 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ func Test_backup2()
sp *Xbackup.txt~
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
let f=expand('%')
call assert_match('src%testdir%Xbackup.txt\~', f)
call assert_match('%testdir%Xbackup.txt\~', f)
bw!
bw!
call delete('Xbackup.txt')
@@ -49,7 +49,7 @@ func Test_backup2_backupcopy()
sp *Xbackup.txt~
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
let f=expand('%')
call assert_match('src%testdir%Xbackup.txt\~', f)
call assert_match('%testdir%Xbackup.txt\~', f)
bw!
bw!
call delete('Xbackup.txt')

View File

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