correct tests.
This commit is contained in:
parent
3c1498017f
commit
245fe31f80
|
@ -9,7 +9,10 @@ endfunction
|
||||||
|
|
||||||
let s:loaded = 0
|
let s:loaded = 0
|
||||||
function! airline#init#bootstrap()
|
function! airline#init#bootstrap()
|
||||||
if s:loaded | return | endif | let s:loaded = 1
|
if s:loaded
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let s:loaded = 1
|
||||||
|
|
||||||
call s:check_defined('g:airline_left_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")
|
call s:check_defined('g:airline_left_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")
|
||||||
call s:check_defined('g:airline_left_alt_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")
|
call s:check_defined('g:airline_left_alt_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")
|
||||||
|
|
|
@ -42,7 +42,7 @@ describe 'init'
|
||||||
|
|
||||||
it 'section z should be line numbers'
|
it 'section z should be line numbers'
|
||||||
Expect g:airline_section_z =~ '%3p%%'
|
Expect g:airline_section_z =~ '%3p%%'
|
||||||
Expect g:airline_section_z =~ '%3l'
|
Expect g:airline_section_z =~ '%4l'
|
||||||
Expect g:airline_section_z =~ '%3c'
|
Expect g:airline_section_z =~ '%3c'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue