mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-28 03:20:06 +08:00
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), ''
|