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:
Bram Moolenaar
2017-07-30 13:51:37 +02:00
parent d0b6c6c54e
commit 5449f7c6fc
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,8 @@ func s:test_expand_dllpath(optname)
execute 'call assert_equal("' . $TEST_EXPAND_DLLPATH . '", &' . a:optname . ')'
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
execute 'let &' . a:optname . ' = dllpath_save'
let $TEST_EXPAND_DLLPATH = ''

View File

@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
811,
/**/
810,
/**/