Skip to content

Commit

Permalink
patch 8.1.0255: backup test fails when using shadow directory
Browse files Browse the repository at this point in the history
Problem:    Backup test fails when using shadow directory.
Solution:   Remove check for "src".
  • Loading branch information
brammool committed Aug 8, 2018
1 parent 980bab4 commit f8f88f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testdir/test_backup.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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')
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
255,
/**/
254,
/**/
Expand Down

0 comments on commit f8f88f8

Please sign in to comment.