correct tests.

This commit is contained in:
Bailey Ling 2013-09-22 18:05:58 -04:00
parent 3c1498017f
commit 245fe31f80
2 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,10 @@ endfunction
let s:loaded = 0
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_alt_sep', get(g:, 'airline_powerline_fonts', 0)?"":">")

View File

@ -42,7 +42,7 @@ describe 'init'
it 'section z should be line numbers'
Expect g:airline_section_z =~ '%3p%%'
Expect g:airline_section_z =~ '%3l'
Expect g:airline_section_z =~ '%4l'
Expect g:airline_section_z =~ '%3c'
end