1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:20:04 +08:00
SpaceVim/test/api/file.vader
Wang Shidong 464e9d5957
Add test for api (#1849)
* Add test for toml api

* Add test for number api

* Add test for file api

* Add test for vim#highlight api

* Add test for icon api
2018-06-20 20:44:08 +08:00

6 lines
179 B
Plaintext

Execute ( SpaceVim api: file ):
let &encoding = 'utf-8'
let g:spacevim_filetype_icons = {}
let file = SpaceVim#api#import('file')
AssertEqual file.fticon('foo.md'), ''