MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ExpectHasSubstr

Function ExpectHasSubstr

tensorflow/core/platform/env_test.cc:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static void ExpectHasSubstr(StringPiece s, StringPiece expected) {
55 EXPECT_TRUE(absl::StrContains(s, expected))
56 << "'" << s << "' does not contain '" << expected << "'";
57}
58
59} // namespace
60

Callers 2

TEST_FFunction · 0.70
TEST_FFunction · 0.50

Calls 1

StrContainsFunction · 0.70

Tested by

no test coverage detected