1
0
Fork 0
mirror of synced 2024-11-16 14:05:34 -05:00
ultimate-vim/.vim_runtime/sources_non_forked/lightline.vim/test/autocmd.vim
2022-04-13 17:21:09 +08:00

23 lines
466 B
VimL

if !has("patch-8.2.0996")
finish
endif
let s:suite = themis#suite('autocmd')
let s:assert = themis#helper('assert')
function! s:suite.before_each()
let g:lightline = {}
call lightline#init()
tabnew
tabonly
endfunction
function! s:suite.doautoall()
tabnew
tabnew
tabprevious
doautoall WinEnter
let statusline = getwinvar(1, '&statusline')
call s:assert.match(statusline, 'lightline')
call s:assert.match(statusline, '_active_')
endfunction