mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-25 17:57:36 +08:00
[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'
|
it 'should collapse the inactive split if the variable is set true'
|
||||||
let g:airline_inactive_collapse = 1
|
let g:airline_inactive_collapse = 1
|
||||||
wincmd s
|
wincmd s
|
||||||
Expect getwinvar(2, '&statusline') !~ 'airline#parts#mode'
|
Expect airline#statusline(2) !~ 'airline#parts#mode'
|
||||||
wincmd c
|
wincmd c
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should not collapse the inactive split if the variable is set false'
|
it 'should not collapse the inactive split if the variable is set false'
|
||||||
let g:airline_inactive_collapse = 0
|
let g:airline_inactive_collapse = 0
|
||||||
wincmd s
|
wincmd s
|
||||||
Expect getwinvar(2, '&statusline') != 'airline#parts#mode'
|
Expect airline#statusline(2) =~ 'airline#parts#mode'
|
||||||
wincmd c
|
wincmd c
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user