takes a raw byte literal of the form rb'...', br'...', rb'''...''' or br'''...'''. is the expected parsed form of .
| 106 | // <quoted> takes a raw byte literal of the form rb'...', br'...', rb'''...''' |
| 107 | // or br'''...'''. <unquoted> is the expected parsed form of <quoted>. |
| 108 | void TestQuotedRawBytesLiteral(const std::string& unquoted, |
| 109 | const std::string& quoted) { |
| 110 | ASSERT_OK_AND_ASSIGN(auto actual_unquoted, ParseBytesLiteral(quoted)); |
| 111 | EXPECT_EQ(unquoted, actual_unquoted) << "quoted: " << quoted; |
| 112 | } |
| 113 | |
| 114 | // <unquoted> takes a string of not escaped unquoted bytes. |
| 115 | void TestUnescapedBytes(const std::string& unquoted) { |