| 139 | } |
| 140 | |
| 141 | void TestStringEscaping(const std::string& orig) { |
| 142 | const std::string escaped = EscapeString(orig); |
| 143 | ASSERT_OK_AND_ASSIGN(auto unescaped, UnescapeString(escaped)); |
| 144 | EXPECT_EQ(orig, unescaped) << "escaped: " << escaped; |
| 145 | } |
| 146 | |
| 147 | void TestValue(const std::string& orig) { |
| 148 | TestStringEscaping(orig); |
no test coverage detected