Skip to content

Commit f8f88f8

Browse files
committed
patch 8.1.0255: backup test fails when using shadow directory
Problem: Backup test fails when using shadow directory. Solution: Remove check for "src".
1 parent 980bab4 commit f8f88f8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_backup.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func Test_backup2()
2929
sp *Xbackup.txt~
3030
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
3131
let f=expand('%')
32-
call assert_match('src%testdir%Xbackup.txt\~', f)
32+
call assert_match('%testdir%Xbackup.txt\~', f)
3333
bw!
3434
bw!
3535
call delete('Xbackup.txt')
@@ -49,7 +49,7 @@ func Test_backup2_backupcopy()
4949
sp *Xbackup.txt~
5050
call assert_equal(['line1', 'line2', 'line3'], getline(1,'$'))
5151
let f=expand('%')
52-
call assert_match('src%testdir%Xbackup.txt\~', f)
52+
call assert_match('%testdir%Xbackup.txt\~', f)
5353
bw!
5454
bw!
5555
call delete('Xbackup.txt')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,8 @@ static char *(features[]) =
794794

795795
static int included_patches[] =
796796
{ /* Add new patch number below this line */
797+
/**/
798+
255,
797799
/**/
798800
254,
799801
/**/

0 commit comments

Comments
 (0)