fix unit tests.

This commit is contained in:
Bailey Ling
2013-09-15 12:02:36 -04:00
parent 7e7766ee45
commit 858ef19a6f
3 changed files with 8 additions and 9 deletions

10
t/highlighter.vim Normal file
View File

@@ -0,0 +1,10 @@
describe 'highlighter'
it 'should create separator highlight groups'
hi Foo1 ctermfg=1 ctermbg=2
hi Foo2 ctermfg=3 ctermbg=4
call airline#highlighter#add_separator('Foo1', 'Foo2', 0)
let hl = airline#highlighter#get_highlight('Foo1_to_Foo2')
Expect hl == [ '', '', '4', '2', '' ]
end
end