summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-16 14:18:50 +0100
committerw0rp <devw0rp@gmail.com>2018-07-16 14:18:50 +0100
commitaa54c10bae015bddff02eecd88866c0cad007664 (patch)
treed215f232deab415b5c07fceb9e5854d927c5a4ce /test
parent2a081e81dbb18d7407c9bfb9a3a10975276ae4f4 (diff)
downloadale-aa54c10bae015bddff02eecd88866c0cad007664.zip
Try to make tests pass on Windows again
Diffstat (limited to 'test')
-rw-r--r--test/test_format_temporary_file_creation.vader6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_format_temporary_file_creation.vader b/test/test_format_temporary_file_creation.vader
index 54a25873..385af908 100644
--- a/test/test_format_temporary_file_creation.vader
+++ b/test/test_format_temporary_file_creation.vader
@@ -21,7 +21,11 @@ Before:
let g: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 []
endfunction