mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2026-02-20 20:08:25 +08:00
basic support for hiding based on win size per part (#200).
This commit is contained in:
@@ -16,17 +16,17 @@ describe 'section'
|
||||
|
||||
it 'should create sections with no separators'
|
||||
let s = airline#section#create(['text', 'raw', 'func'])
|
||||
Expect s == '%{"text"}raw%{SectionSpec()}'
|
||||
Expect s == '%{airline#util#wrap("text",0)}raw%{airline#util#wrap(SectionSpec(),0)}'
|
||||
end
|
||||
|
||||
it 'should create left sections with separators'
|
||||
let s = airline#section#create_left(['text', 'text'])
|
||||
Expect s == '%{"text"}%{airline#util#append("text")}'
|
||||
Expect s == '%{airline#util#wrap("text",0)}%{airline#util#append("text",0)}'
|
||||
end
|
||||
|
||||
it 'should create right sections with separators'
|
||||
let s = airline#section#create_right(['text', 'text'])
|
||||
Expect s == '%{airline#util#prepend("text")}%{"text"}'
|
||||
Expect s == '%{airline#util#prepend("text",0)}%{airline#util#wrap("text",0)}'
|
||||
end
|
||||
|
||||
it 'should prefix with highlight group if provided'
|
||||
|
||||
Reference in New Issue
Block a user