src/base/str.test.cc
/*
 * str.hh has three implementations of "startswith"; a function that takes
 * string and a prefix and returns true if the string starts with the prefix.
 * One implementation takes two strings, another takes two char*, and the
 * third takes a string and a char* as a prefix.
 */
str.hh has three implementations of "startswith"; a function that takes
string and a prefix and returns true if the string starts with the prefix.
One implementation takes two strings, another takes two char*, and the
third takes a string and a char* as a prefix.
str . hh has three implementations of " startswith " ; a function that takes string and a prefix and returns true if the string starts with the prefix . One implementation takes two strings another takes two char * and the third takes a string and a char * as a prefix .
TEST(StrTest, StartswithDoubleStringDoesStartWith)
{
    std::string s = "Hello, how are you?";
    std::string prefix = "Hello";
    EXPECT_TRUE(startswith(s, prefix));
}
TEST ( StrTest , StartswithDoubleStringDoesStartWith ) { std :: string s = " " ; std :: string prefix = " " ; EXPECT_TRUE ( startswith ( s , prefix ) ) ; }
str.hh has three implementations of "startswith"; a function that takes
 string and a prefix and returns true if the string starts with the prefix.
str . hh has three implementations of " startswith " ; a function that takes string and a prefix and returns true if the string starts with the prefix .