mirror of
https://github.com/neovim/neovim.git
synced 2026-08-03 22:28:43 +00:00
vim-patch:8.0.0444: diffpatch fails when the file name has a quote
Problem: Diffpatch fails when the file name has a quote.
Solution: Escape the name properly. (zetzei)
a95ab32120
This commit is contained in:
@@ -502,7 +502,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)
|
||||
|
||||
Reference in New Issue
Block a user