changeset 14483:7fd8cb54da4a v8.1.0255

patch 8.1.0255: backup test fails when using shadow directory commit https://github.com/vim/vim/commit/f8f88f89e12df516c1fac5851b504238ebc1d2d4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 8 11:02:32 2018 +0200 patch 8.1.0255: backup test fails when using shadow directory Problem: Backup test fails when using shadow directory. Solution: Remove check for "src".
author Christian Brabandt <cb@256bit.org>
date Wed, 08 Aug 2018 11:15:04 +0200
parents 47bda94ae3b1
children c7016941d02a
files src/testdir/test_backup.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_backup.vim
+++ b/src/testdir/test_backup.vim
@@ -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')
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    255,
+/**/
     254,
 /**/
     253,