forked from aniani/vim
patch 8.0.0811: MS-Windows: test_expand_dllpath fails
Problem: MS-Windows: test_expand_dllpath fails. Solution: Change backslashes to forward slashes
This commit is contained in:
@@ -6,7 +6,8 @@ func s:test_expand_dllpath(optname)
|
|||||||
execute 'call assert_equal("' . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')'
|
execute 'call assert_equal("' . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')'
|
||||||
|
|
||||||
execute 'set ' . a:optname . '=~' . $TEST_EXPAND_DLLPATH
|
execute 'set ' . a:optname . '=~' . $TEST_EXPAND_DLLPATH
|
||||||
execute 'call assert_equal("' . $HOME . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')'
|
let home = substitute($HOME, '\\', '/', 'g')
|
||||||
|
execute 'call assert_equal("' . home . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')'
|
||||||
finally
|
finally
|
||||||
execute 'let &' . a:optname . ' = dllpath_save'
|
execute 'let &' . a:optname . ' = dllpath_save'
|
||||||
let $TEST_EXPAND_DLLPATH = ''
|
let $TEST_EXPAND_DLLPATH = ''
|
||||||
|
|||||||
@@ -769,6 +769,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 */
|
||||||
|
/**/
|
||||||
|
811,
|
||||||
/**/
|
/**/
|
||||||
810,
|
810,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user