1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:20:06 +08:00
SpaceVim/test/lua/logger.vader
2021-08-15 19:06:48 +08:00

6 lines
256 B
Plaintext

Execute ( SpaceVim lua api: logger ):
let cmp = SpaceVim#api#import('vim#compatible')
lua spacevim_logger = require('spacevim.api').import('logger')
lua spacevim_logger.set_name('TestLog')
AssertEqual cmp.luaeval('spacevim_logger.name'), 'TestLog'