mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix unit test cleanup of path_shorten_fname_if_possible.
This commit is contained in:
parent
71b1f4ef5a
commit
d84fe0a1b0
@ -113,10 +113,11 @@ describe 'path function', ->
|
||||
eq 'directory/file.txt', (ffi.string path.path_shorten_fname full, dir)
|
||||
|
||||
describe 'path_shorten_fname_if_possible', ->
|
||||
cwd = lfs.currentdir!
|
||||
before_each ->
|
||||
lfs.mkdir 'ut_directory'
|
||||
after_each ->
|
||||
lfs.chdir '..'
|
||||
lfs.chdir cwd
|
||||
lfs.rmdir 'ut_directory'
|
||||
|
||||
describe 'path_shorten_fname_if_possible', ->
|
||||
|
Loading…
Reference in New Issue
Block a user