mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.5083: autocmd test still fails on MS-Windows
Problem: Autocmd test still fails on MS-Windows. Solution: Change backward to forward slashes.
This commit is contained in:
@@ -2108,15 +2108,12 @@ function Test_dirchanged_global()
|
|||||||
exe 'lcd ' .. fnameescape(s:dir_bar)
|
exe 'lcd ' .. fnameescape(s:dir_bar)
|
||||||
call assert_equal(expected, s:li)
|
call assert_equal(expected, s:li)
|
||||||
|
|
||||||
let save_shellslash = &shellslash
|
|
||||||
set shellslash
|
|
||||||
exe 'cd ' .. s:dir_foo
|
exe 'cd ' .. s:dir_foo
|
||||||
exe 'cd ' .. s:dir_bar
|
exe 'cd ' .. s:dir_bar
|
||||||
autocmd! test_dirchanged DirChanged global let g:result = expand("<afile>")
|
autocmd! test_dirchanged DirChanged global let g:result = expand("<afile>")
|
||||||
cd -
|
cd -
|
||||||
call assert_equal(s:dir_foo, g:result)
|
call assert_equal(s:dir_foo, substitute(g:result, '\\', '/', 'g'))
|
||||||
|
|
||||||
let &shellslash = save_shellslash
|
|
||||||
call s:After_test_dirchanged()
|
call s:After_test_dirchanged()
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@@ -734,6 +734,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 */
|
||||||
|
/**/
|
||||||
|
5083,
|
||||||
/**/
|
/**/
|
||||||
5082,
|
5082,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user