Try to make tests pass on Windows again

This commit is contained in:
w0rp 2018-07-16 14:18:50 +01:00
parent 2a081e81db
commit aa54c10bae
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83

View File

@ -21,7 +21,11 @@ Before:
let g:output = [] let g:output = []
function! TestCallback(buffer, output) function! TestCallback(buffer, output)
let g:output = a:output " Extract just letters from the output.
let g:output = filter(
\ map(a:output, 'matchstr(v:val, ''[a-zA-Z]\+'')'),
\ '!empty(v:val)'
\)
return [] return []
endfunction endfunction