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