Fix failing tests

This commit is contained in:
Christian Brabandt
2017-08-11 12:05:39 +02:00
parent a96681d459
commit 6ee75bdbde
3 changed files with 8 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ describe 'active builder'
end
it 'should reuse highlight group if background colors match'
call airline#highlighter#reset_hlcache()
highlight Foo1 ctermfg=1 ctermbg=2
highlight Foo2 ctermfg=1 ctermbg=2
call s:builder.add_section('Foo1', 'hello')
@@ -28,6 +29,7 @@ describe 'active builder'
end
it 'should switch highlight groups if foreground colors differ'
call airline#highlighter#reset_hlcache()
highlight Foo1 ctermfg=1 ctermbg=2
highlight Foo2 ctermfg=2 ctermbg=2
call s:builder.add_section('Foo1', 'hello')