Add a small test for str_lower.

Originally committed to SVN as r5338.
This commit is contained in:
Amar Takhar 2011-02-09 23:43:57 +00:00
parent c33afffa03
commit 453381e613
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ TEST_F(lagi_util, UtilRenameExNotFound) {
EXPECT_THROW(util::Rename("./data/nonexistent", ""), acs::AcsNotFound);
}
TEST_F(lagi_util, Utilstr_lower) {
std::string str("-!ABCDEFGHIJKLMNOPQRSTUVWXYZ123");
util::str_lower(str);
EXPECT_STREQ(str.c_str(), "-!abcdefghijklmnopqrstuvwxyz123");
}
} // namespace agi