MCPcopy Create free account
hub / github.com/approvals/ApprovalTests.cpp / contains

Method contains

ApprovalTests/utilities/StringUtils.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 }
22
23 APPROVAL_TESTS_NO_DISCARD
24 bool StringUtils::contains(const std::string& inText, const std::string& find)
25 {
26 return inText.find(find, 0) != std::string::npos;
27 }
28
29 APPROVAL_TESTS_NO_DISCARD
30 std::string StringUtils::toLower(std::string inText)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected