diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-08 11:02:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-08 11:02:32 +0200 |
commit | f8f88f89e12df516c1fac5851b504238ebc1d2d4 (patch) | |
tree | cb7e756bb75ce994dbfbbe6109c8b10c9271fe14 /src/testdir/test_backup.vim | |
parent | 980bab457ebb4df4b05d54b9d731520774f20d1d (diff) | |
download | vim-git-f8f88f89e12df516c1fac5851b504238ebc1d2d4.tar.gz |
patch 8.1.0255: backup test fails when using shadow directoryv8.1.0255
Problem: Backup test fails when using shadow directory.
Solution: Remove check for "src".
Diffstat (limited to 'src/testdir/test_backup.vim')
-rw-r--r-- | src/testdir/test_backup.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_backup.vim b/src/testdir/test_backup.vim index 3187b5887..0981efdce 100644 --- 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') |