Problem: Autocmd test fails on MS-Windows.
Solution: Set shellslash to get forward slashes.
exe 'lcd ' .. fnameescape(s:dir_bar)
call assert_equal(expected, s:li)
+ let save_shellslash = &shellslash
+ set shellslash
exe 'cd ' .. s:dir_foo
exe 'cd ' .. s:dir_bar
autocmd! test_dirchanged DirChanged global let g:result = expand("<afile>")
cd -
call assert_equal(s:dir_foo, g:result)
+ let &shellslash = save_shellslash
call s:After_test_dirchanged()
endfunc
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 5081,
/**/
5080,
/**/