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:
parent
2f76d5e89b
commit
78121cbb29
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user