Merge pull request #254 from smy20011/master

Use CRLF on windows when parsing test result
This commit is contained in:
Tim Pope 2015-12-29 00:46:03 -05:00
commit b550ac6680

View File

@ -1652,7 +1652,7 @@ function! fireplace#capture_test_run(expr, ...) abort
call setqflist(fireplace#quickfix_for(get(response, 'stacktrace', []))) call setqflist(fireplace#quickfix_for(get(response, 'stacktrace', [])))
return s:output_response(response) return s:output_response(response)
endif endif
for line in split(response.out, "\n") for line in split(response.out, "\r\\=\n")
if line =~# '\t.*\t.*\t' if line =~# '\t.*\t.*\t'
let entry = {'text': line} let entry = {'text': line}
let [resource, lnum, type, name] = split(line, "\t", 1) let [resource, lnum, type, name] = split(line, "\t", 1)