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

Function ExpectParsedBytes

internal/strings_test.cc:629–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627}
628
629void ExpectParsedBytes(const std::string& expected,
630 const std::vector<std::string>& quoted_strings) {
631 for (const std::string& quoted : quoted_strings) {
632 ASSERT_OK_AND_ASSIGN(auto parsed, ParseBytesLiteral(quoted));
633 EXPECT_EQ(expected, parsed);
634 }
635}
636
637TEST(StringsTest, Parse) {
638 ExpectParsedString("abc",

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected