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:
@@ -29,7 +29,7 @@ func Test_backup2()
|
|||||||
sp *Xbackup.txt~
|
sp *Xbackup.txt~
|
||||||
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
|
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
|
||||||
let f=expand('%')
|
let f=expand('%')
|
||||||
call assert_match('src%testdir%Xbackup.txt\~', f)
|
call assert_match('%testdir%Xbackup.txt\~', f)
|
||||||
bw!
|
bw!
|
||||||
bw!
|
bw!
|
||||||
call delete('Xbackup.txt')
|
call delete('Xbackup.txt')
|
||||||
@@ -49,7 +49,7 @@ func Test_backup2_backupcopy()
|
|||||||
sp *Xbackup.txt~
|
sp *Xbackup.txt~
|
||||||
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
|
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
|
||||||
let f=expand('%')
|
let f=expand('%')
|
||||||
call assert_match('src%testdir%Xbackup.txt\~', f)
|
call assert_match('%testdir%Xbackup.txt\~', f)
|
||||||
bw!
|
bw!
|
||||||
bw!
|
bw!
|
||||||
call delete('Xbackup.txt')
|
call delete('Xbackup.txt')
|
||||||
|
@@ -794,6 +794,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 */
|
||||||
|
/**/
|
||||||
|
255,
|
||||||
/**/
|
/**/
|
||||||
254,
|
254,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user