mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 17:49:57 +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 ):
|
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()
|
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/index.md', root, 1), 'docs/cn/index.md'
|
||||||
AssertEqual SpaceVim#plugins#a#get_alt('docs/cn/index.md', root, 1), 'docs/index.md'
|
AssertEqual SpaceVim#plugins#a#get_alt('docs/cn/index.md', root, 1), 'docs/index.md'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user