diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-11 19:21:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-11 19:21:53 +0100 |
commit | a95ab321200f0239991bf53756b17cd7b90745f9 (patch) | |
tree | 6485aa8f07294fdda7cc42dff6fb948cbff23a0e /src/testdir/test_diffmode.vim | |
parent | 38a3d6c9601b637a28f399059263300e9f65eba4 (diff) |
patch 8.0.0444: diffpatch fails when the file name has a quotev8.0.0444
Problem: Diffpatch fails when the file name has a quote.
Solution: Escape the name properly. (zetzei)
Diffstat (limited to 'src/testdir/test_diffmode.vim')
-rw-r--r-- | src/testdir/test_diffmode.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim index c23e8a1da5..e09bcaa44f 100644 --- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -319,7 +319,7 @@ func Test_diffpatch() new call assert_fails('diffpatch Xpatch', 'E816:') - for name in ['Xpatch', 'Xpatch$HOME'] + for name in ['Xpatch', 'Xpatch$HOME', 'Xpa''tch'] call setline(1, ['1', '2', '3']) if name != 'Xpatch' call rename('Xpatch', name) |