Searched refs:EndsWith (Results 1 – 3 of 3) sorted by relevance
44 TEST(StringUtilsTest, EndsWith) { in TEST() argument45 EXPECT_TRUE(EndsWith("abcd", "cd")); in TEST()46 EXPECT_TRUE(EndsWith("d", "d")); in TEST()47 EXPECT_TRUE(EndsWith("d", "")); in TEST()48 EXPECT_TRUE(EndsWith("", "")); in TEST()50 EXPECT_FALSE(EndsWith("cd", "abcd")); in TEST()51 EXPECT_FALSE(EndsWith("", "cd")); in TEST()
32 bool EndsWith(std::string_view s, std::string_view suffix);
48 bool EndsWith(std::string_view s, std::string_view suffix) { in EndsWith() function