fix failing tests
This commit is contained in:
parent
ca44fd467c
commit
51095bad95
|
@ -1,7 +1,7 @@
|
||||||
let g:airline_theme = 'dark'
|
let g:airline_theme = 'dark'
|
||||||
call airline#init#bootstrap()
|
|
||||||
call airline#init#sections()
|
|
||||||
source plugin/airline.vim
|
source plugin/airline.vim
|
||||||
|
doautocmd VimEnter
|
||||||
|
|
||||||
function! MyFuncref(...)
|
function! MyFuncref(...)
|
||||||
call a:1.add_raw('hello world')
|
call a:1.add_raw('hello world')
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
call airline#init#bootstrap()
|
|
||||||
call airline#init#sections()
|
|
||||||
|
|
||||||
source plugin/airline.vim
|
source plugin/airline.vim
|
||||||
|
doautocmd VimEnter
|
||||||
|
|
||||||
describe 'commands'
|
describe 'commands'
|
||||||
it 'should toggle off and on'
|
it 'should toggle off and on'
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
let g:airline_theme = 'dark'
|
let g:airline#extensions#default#layout = [
|
||||||
call airline#init#bootstrap()
|
\ [ 'c', 'a', 'b', 'warning' ],
|
||||||
call airline#init#sections()
|
\ [ 'x', 'z', 'y' ]
|
||||||
|
\ ]
|
||||||
|
|
||||||
source plugin/airline.vim
|
source plugin/airline.vim
|
||||||
call airline#load_theme()
|
doautocmd VimEnter
|
||||||
|
|
||||||
describe 'default'
|
describe 'default'
|
||||||
before
|
before
|
||||||
|
@ -10,10 +12,6 @@ describe 'default'
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should use the layout'
|
it 'should use the layout'
|
||||||
let g:airline#extensions#default#layout = [
|
|
||||||
\ [ 'c', 'a', 'b', 'warning' ],
|
|
||||||
\ [ 'x', 'z', 'y' ]
|
|
||||||
\ ]
|
|
||||||
call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 })
|
call airline#extensions#default#apply(s:builder, { 'winnr': 1, 'active': 1 })
|
||||||
let stl = s:builder.build()
|
let stl = s:builder.build()
|
||||||
Expect stl =~ 'airline_c_to_airline_a'
|
Expect stl =~ 'airline_c_to_airline_a'
|
||||||
|
|
Loading…
Reference in New Issue