Merge pull request #18934 from zeertzjq/vim-8.2.5079

vim-patch:8.2.{5079,5081,5083}
This commit is contained in:
zeertzjq 2022-06-13 16:30:13 +08:00 committed by GitHub
commit a68f5fccb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1981,6 +1981,13 @@ function Test_dirchanged_global()
call assert_equal(expected, s:li)
exe 'lcd ' .. fnameescape(s:dir_bar)
call assert_equal(expected, s:li)
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, substitute(g:result, '\\', '/', 'g'))
call s:After_test_dirchanged()
endfunc