MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / TestUnescapedBytes

Function TestUnescapedBytes

internal/strings_test.cc:115–117  ·  view source on GitHub ↗

takes a string of not escaped unquoted bytes.

Source from the content-addressed store, hash-verified

113
114// <unquoted> takes a string of not escaped unquoted bytes.
115void TestUnescapedBytes(const std::string& unquoted) {
116 TestBytesLiteral(FormatBytesLiteral(unquoted));
117}
118
119void TestRawBytes(const std::string& unquoted) {
120 const std::string quote = (!absl::StrContains(unquoted, "'")) ? "'" : "\"";

Callers 1

TESTFunction · 0.85

Calls 2

TestBytesLiteralFunction · 0.85
FormatBytesLiteralFunction · 0.85

Tested by

no test coverage detected