vim-patch:8.1.0255: backup test fails when using shadow directory

Problem:    Backup test fails when using shadow directory.
Solution:   Remove check for "src".
f8f88f89e1
This commit is contained in:
Jan Edmund Lazo 2020-08-01 13:36:43 -04:00
parent 0d713fc8ba
commit ae92177063
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

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%nvim%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%nvim%testdir%Xbackup.txt\~', f)
call assert_match('%testdir%Xbackup.txt\~', f)
bw!
bw!
call delete('Xbackup.txt')