From: Bram Moolenaar Date: Sun, 12 Jun 2022 22:26:50 +0000 (+0100) Subject: patch 8.2.5083: autocmd test still fails on MS-Windows X-Git-Tag: v8.2.5083 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=db77c49401145d76441fbb3d22a1d7d987681c13;p=thirdparty%2Fvim.git 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. --- diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index d0b5b5a4d5..e9a59c29a6 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -2108,15 +2108,12 @@ function Test_dirchanged_global() 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("") 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() endfunc diff --git a/src/version.c b/src/version.c index 6479ffa567..745f85c108 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 5083, /**/ 5082, /**/