mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 03:00:00 +08:00
test removal of funcrefs
This commit is contained in:
parent
fd68997398
commit
3b2b224a3b
|
@ -48,5 +48,12 @@ describe 'airline'
|
|||
call airline#update_statusline()
|
||||
Expect &statusline =~ '%{airline#util#wrap(airline#parts#mode(),0)}%{airline#util#wrap(airline#parts#mode(),0)}'
|
||||
end
|
||||
|
||||
it 'should remove funcrefs properly'
|
||||
let c = len(g:airline_statusline_funcrefs)
|
||||
call airline#add_statusline_func('MyIgnoreFuncref')
|
||||
call airline#remove_statusline_func('MyIgnoreFuncref')
|
||||
Expect len(g:airline_statusline_funcrefs) == c
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user