improve s:hi in the test for lightline#ink

This commit is contained in:
itchyny
2016-04-17 11:37:24 +09:00
parent 424a35fa2b
commit cd63ed91ef

View File

@@ -10,9 +10,9 @@ endfunction
function! s:hi(name) function! s:hi(name)
redir => hi redir => hi
silent! exec 'hi ' . a:name silent! exec 'hi' a:name
redir END redir END
return hi return substitute(join(split(hi, "\n"), ''), ' \+', ' ', 'g')
endfunction endfunction
function! s:suite.link() function! s:suite.link()