| 151 | } |
| 152 | |
| 153 | void AssertParseOk(BlockParser& parser, const std::string& str) { |
| 154 | uint32_t parsed_size = static_cast<uint32_t>(-1); |
| 155 | ASSERT_OK(Parse(parser, str, &parsed_size)); |
| 156 | ASSERT_EQ(parsed_size, str.size()); |
| 157 | } |
| 158 | |
| 159 | void AssertParseOk(BlockParser& parser, const std::vector<std::string_view>& data) { |
| 160 | uint32_t parsed_size = static_cast<uint32_t>(-1); |
no test coverage detected