| 619 | } |
| 620 | |
| 621 | void ExpectParsedString(const std::string& expected, |
| 622 | const std::vector<std::string>& quoted_strings) { |
| 623 | for (const std::string& quoted : quoted_strings) { |
| 624 | ASSERT_OK_AND_ASSIGN(auto parsed, ParseStringLiteral(quoted)); |
| 625 | EXPECT_EQ(expected, parsed); |
| 626 | } |
| 627 | } |
| 628 | |
| 629 | void ExpectParsedBytes(const std::string& expected, |
| 630 | const std::vector<std::string>& quoted_strings) { |