mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.1654: MS-Windows: test for default 'viewdir' fails
Problem: MS-Windows: test for default 'viewdir' fails. Solution: Escape the pattern.
This commit is contained in:
@@ -1265,7 +1265,8 @@ endfunc
|
|||||||
" Test default 'viewdir' value
|
" Test default 'viewdir' value
|
||||||
func Test_mkview_default_home()
|
func Test_mkview_default_home()
|
||||||
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')
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1654,
|
||||||
/**/
|
/**/
|
||||||
1653,
|
1653,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user