mirror of https://github.com/odrling/Aegisub
Add a small test for str_lower.
Originally committed to SVN as r5338.
This commit is contained in:
parent
c33afffa03
commit
453381e613
|
@ -65,6 +65,11 @@ TEST_F(lagi_util, UtilRenameExNotFound) {
|
||||||
EXPECT_THROW(util::Rename("./data/nonexistent", ""), acs::AcsNotFound);
|
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
|
} // namespace agi
|
||||||
|
|
Loading…
Reference in New Issue