1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00

test(a.lua): fix test for a.lua

This commit is contained in:
wsdjeg 2023-08-05 22:10:00 +08:00 committed by Eric Wong
parent 2f76d5e89b
commit 78121cbb29

View File

@ -1,5 +1,5 @@
Execute ( SpaceVim plugin: a.lua ):
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'