We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b5cf6b commit 8cf106bCopy full SHA for 8cf106b
1 file changed
tests/unit/chunk_parsers_test.cc
@@ -107,14 +107,17 @@ SEASTAR_TEST_CASE(test_trailer_headers_parsing) {
107
};
108
109
http_chunk_trailer_parser parser;
110
+ size_t idx = 0;
111
for (auto& tset : tests) {
112
+ BOOST_TEST_INFO("trailer test idx=" << idx << " msg=" << tset.msg);
113
parser.init();
114
BOOST_REQUIRE(parser(tset.buf()).get().has_value());
115
BOOST_REQUIRE_NE(parser.failed(), tset.parsable);
116
if (tset.parsable) {
117
auto heads = parser.get_parsed_headers();
118
BOOST_REQUIRE_EQUAL(heads[std::move(tset.header_name)], std::move(tset.header_value));
119
}
120
+ ++idx;
121
122
return make_ready_future<>();
123
0 commit comments