mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:20:05 +08:00
464e9d5957
* 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
9 lines
340 B
Plaintext
9 lines
340 B
Plaintext
Execute ( SpaceVim api: unicode#icon ):
|
|
let &encoding = 'utf-8'
|
|
let icon = SpaceVim#api#import('unicode#icon')
|
|
AssertEqual icon.battery_status(90), ''
|
|
AssertEqual icon.battery_status(75), ''
|
|
AssertEqual icon.battery_status(50), ''
|
|
AssertEqual icon.battery_status(25), ''
|
|
AssertEqual icon.battery_status(10), ''
|