1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-26 14:40:06 +08:00
SpaceVim/test/api/unicode/tree.vader
2020-12-19 22:27:24 +08:00

12 lines
286 B
Plaintext

Execute ( SpaceVim api: unicode#tree ):
let box = SpaceVim#api#import('unicode#tree')
AssertEqual box.drawing_tree({'test' : [{'hello' : ['one', 'two']},'world']}),
\ [
\ 'test',
\ ' ├hello',
\ ' │ ├one',
\ ' │ ╰two',
\ ' ╰world',
\ ]