1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-26 14:50:04 +08:00
SpaceVim/test/api/unicode/box.vader
2017-10-22 22:25:12 +08:00

7 lines
328 B
Plaintext

Execute ( SpaceVim api: unicode#box ):
new
let &encoding = 'utf-8'
let box = SpaceVim#api#import('unicode#box')
AssertEqual box.drawing_box([1,2,3] , 1, 3, 5),
\ ['╭─────┬─────┬─────╮', '│ 1 │ 2 │ 3 │', '╰─────┴─────┴─────╯']