Use "\r\\=\n" indicate line break.

This commit is contained in:
Siyuan Ma 2015-12-28 17:01:39 -06:00
parent fd94f70fff
commit fd18e8481d

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)