install.fairie/dotfiles/.vim/plugged/lightline.vim/test/autocmd.vim
Git E2E Dev Test Username 90619ab253 git subrepo clone https://github.com/itchyny/lightline.vim.git ./dotfiles/.vim/plugged/lightline.vim
subrepo:
  subdir:   "dotfiles/.vim/plugged/lightline.vim"
  merged:   "b1e91b41"
upstream:
  origin:   "https://github.com/itchyny/lightline.vim.git"
  branch:   "master"
  commit:   "b1e91b41"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-10-18 10:36:11 -04: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