more compatible test for older vim version.

This commit is contained in:
Bailey Ling
2013-08-31 03:41:19 +00:00
parent a13c692529
commit 7bcb9b5fff
2 changed files with 2 additions and 2 deletions

View File

@@ -26,8 +26,9 @@ describe 'util'
end
it 'has getwinvar function'
Expect airline#util#getwinvar(1, '&statusline', 'foo') == getwinvar(1, '&statusline')
Expect airline#util#getwinvar(1, 'asdf', '123') == '123'
call setwinvar(1, 'vspec', 'is cool')
Expect airline#util#getwinvar(1, 'vspec', '') == 'is cool'
end
it 'has exec funcrefs helper functions'