1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-26 14:00:04 +08:00
SpaceVim/test/api/unicode/tree.vader
2021-02-21 15:56:37 +08:00

12 lines
302 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',
" \ ]