mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-10 22:11:51 +08:00
fix failing test by defining all default sections
previous commit 2e3055541e broke the unit tests, since it renamed
the syntastic section. Fix that and also test correctly the other
sections, that have been added (and which have not been tested until
now).
This commit is contained in:
13
t/init.vim
13
t/init.vim
@@ -59,12 +59,21 @@ describe 'init sections'
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'all default statusline extensions should be blank'
|
it 'all default statusline extensions should be blank'
|
||||||
|
Expect airline#parts#get('ale_error_count').raw == ''
|
||||||
|
Expect airline#parts#get('ale_warning_count').raw == ''
|
||||||
Expect airline#parts#get('hunks').raw == ''
|
Expect airline#parts#get('hunks').raw == ''
|
||||||
Expect airline#parts#get('branch').raw == ''
|
Expect airline#parts#get('branch').raw == ''
|
||||||
Expect airline#parts#get('tagbar').raw == ''
|
|
||||||
Expect airline#parts#get('syntastic').raw == ''
|
|
||||||
Expect airline#parts#get('eclim').raw == ''
|
Expect airline#parts#get('eclim').raw == ''
|
||||||
|
Expect airline#parts#get('neomake_error_count').raw == ''
|
||||||
|
Expect airline#parts#get('neomake_warning_count').raw == ''
|
||||||
|
Expect airline#parts#get('obsession').raw == ''
|
||||||
|
Expect airline#parts#get('syntastic-err').raw == ''
|
||||||
|
Expect airline#parts#get('syntastic-warn').raw == ''
|
||||||
|
Expect airline#parts#get('tagbar').raw == ''
|
||||||
Expect airline#parts#get('whitespace').raw == ''
|
Expect airline#parts#get('whitespace').raw == ''
|
||||||
|
Expect airline#parts#get('windowswap').raw == ''
|
||||||
|
Expect airline#parts#get('ycm_error_count').raw == ''
|
||||||
|
Expect airline#parts#get('ycm_warning_count').raw == ''
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user