1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:40:06 +08:00

test(a.vim): fix alternate test

This commit is contained in:
wsdjeg 2023-08-05 22:02:14 +08:00 committed by Eric Wong
parent db6ee22450
commit 2f76d5e89b

View File

@ -1,5 +1,5 @@
Execute ( SpaceVim plugin: a.vim ):
call SpaceVim#plugins#a#set_config_name(getcwd(), '.projections.json')
call SpaceVim#plugins#a#set_config_name(getcwd(), '.SpaceVim.d/projections.toml')
let root = SpaceVim#plugins#a#getConfigPath()
AssertEqual SpaceVim#plugins#a#get_alt('docs/index.md', root, 1), 'docs/cn/index.md'
AssertEqual SpaceVim#plugins#a#get_alt('docs/cn/index.md', root, 1), 'docs/index.md'