mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
vim-patch:9.0.1654: MS-Windows: test for default 'viewdir' fails
Problem: MS-Windows: test for default 'viewdir' fails. Solution: Escape the pattern.813b7a85f2
Co-authored-by: Bram Moolenaar <Bram@vim.org> (cherry picked from commitbd0555ecd4
)
This commit is contained in:
committed by
github-actions[bot]
parent
a97713485d
commit
cdd3f2a2e6
@ -1202,7 +1202,8 @@ endfunc
|
|||||||
func Test_mkview_default_home()
|
func Test_mkview_default_home()
|
||||||
throw 'Skipped: N/A'
|
throw 'Skipped: N/A'
|
||||||
if has('win32')
|
if has('win32')
|
||||||
call assert_match('^' .. $ORIGHOME .. '/vimfiles', &viewdir)
|
" use escape() to handle backslash path separators
|
||||||
|
call assert_match('^' .. escape($ORIGHOME, '\') .. '/vimfiles', &viewdir)
|
||||||
elseif has('unix')
|
elseif has('unix')
|
||||||
call assert_match('^' .. $ORIGHOME .. '/.vim', &viewdir)
|
call assert_match('^' .. $ORIGHOME .. '/.vim', &viewdir)
|
||||||
elseif has('amiga')
|
elseif has('amiga')
|
||||||
|
Reference in New Issue
Block a user