Mercurial > dovecot > core-2.2
changeset 22479:90957875c55b
lib-http: test-http-response-parser: Show error message for tests of invalid responses.
author | Stephan Bosch <stephan.bosch@dovecot.fi> |
---|---|
date | Thu, 27 Jul 2017 16:03:44 +0200 |
parents | c647979828d1 |
children | 57b725e7920b |
files | src/lib-http/test-http-response-parser.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-http/test-http-response-parser.c Wed Jul 19 16:53:17 2017 +0300 +++ b/src/lib-http/test-http-response-parser.c Thu Jul 27 16:03:44 2017 +0200 @@ -302,7 +302,7 @@ while ((ret=http_response_parse_next(parser, FALSE, &response, &error)) > 0); - test_assert(ret < 0); + test_out_reason("parse failure", ret < 0, error); test_end(); http_response_parser_deinit(&parser); } T_END;