Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
static 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_F
Function · 0.70
TEST_F
Function · 0.50
Calls
1
StrContains
Function · 0.70
Tested by
no test coverage detected