[fix] Fix meaningless tests.
This commit is contained in:
parent
9a3568b815
commit
64908db62a
|
@ -69,14 +69,14 @@ describe 'airline'
|
|||
it 'should collapse the inactive split if the variable is set true'
|
||||
let g:airline_inactive_collapse = 1
|
||||
wincmd s
|
||||
Expect getwinvar(2, '&statusline') !~ 'airline#parts#mode'
|
||||
Expect airline#statusline(2) !~ 'airline#parts#mode'
|
||||
wincmd c
|
||||
end
|
||||
|
||||
it 'should not collapse the inactive split if the variable is set false'
|
||||
let g:airline_inactive_collapse = 0
|
||||
wincmd s
|
||||
Expect getwinvar(2, '&statusline') != 'airline#parts#mode'
|
||||
Expect airline#statusline(2) =~ 'airline#parts#mode'
|
||||
wincmd c
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue