diff --git a/test/expand.vim b/test/expand.vim index 19cd766..20d0542 100644 --- a/test/expand.vim +++ b/test/expand.vim @@ -74,13 +74,13 @@ function! s:suite.custom_void_string() let g:lightline = { 'component_expand': { 'custom': 'Custom' } } call lightline#init() call s:assert.equals(SID('expand')([['readonly', 'filename'], ['custom'], ['modified']]), - \ [[['readonly', 'filename'], [], ['modified']], [[0, 0], [], [0]], [0, 1, 2, 3]]) + \ [[['readonly', 'filename'], ['modified']], [[0, 0], [0]], [0, 2, 3]]) call s:assert.equals(SID('expand')([['readonly', 'filename', 'custom', 'modified']]), \ [[['readonly', 'filename', 'modified']], [[0, 0, 0]], [0, 1]]) delfunction Custom endfunction -function! s:suite.custom_void_string() +function! s:suite.custom_type_void_string() function! Custom() return '' endfunction