aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-01 13:36:43 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-02 12:00:03 -0400
commitae92177063d64e9132943852fa932a9e63c3ba23 (patch)
tree177d18e6d6f54196811445b8f648aaff97633c58
parent0d713fc8badcf432d88d21b9a73c6c112705b519 (diff)
downloadrneovim-ae92177063d64e9132943852fa932a9e63c3ba23.tar.gz
rneovim-ae92177063d64e9132943852fa932a9e63c3ba23.tar.bz2
rneovim-ae92177063d64e9132943852fa932a9e63c3ba23.zip
vim-patch:8.1.0255: backup test fails when using shadow directory
Problem: Backup test fails when using shadow directory. Solution: Remove check for "src". https://github.com/vim/vim/commit/f8f88f89e12df516c1fac5851b504238ebc1d2d4
-rw-r--r--src/nvim/testdir/test_backup.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_backup.vim b/src/nvim/testdir/test_backup.vim
index fa10430613..0981efdcee 100644
--- a/src/nvim/testdir/test_backup.vim
+++ b/src/nvim/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%nvim%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%nvim%testdir%Xbackup.txt\~', f)
+ call assert_match('%testdir%Xbackup.txt\~', f)
bw!
bw!
call delete('Xbackup.txt')