mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #18934 from zeertzjq/vim-8.2.5079
vim-patch:8.2.{5079,5081,5083}
This commit is contained in:
commit
a68f5fccb3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user