1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 03:10:04 +08:00
SpaceVim/test/api/unicode/icon.vader

9 lines
340 B
Plaintext
Raw Normal View History

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), ''