summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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