This commit is contained in:
Branimir Karadžić
2017-12-09 17:54:52 -08:00
parent d2bcdc5c0d
commit e3993fd7e9
3 changed files with 20 additions and 4 deletions

View File

@@ -389,3 +389,9 @@ TEST_CASE("Trim", "")
bx::FilePath uri("/555333/podmac/");
REQUIRE(0 == bx::strCmp(bx::strTrim(uri.getPath(), "/"), "555333/podmac") );
}
TEST_CASE("strWord", "")
{
REQUIRE(bx::strWord(" abvgd-1389.0").isEmpty() );
REQUIRE(0 == bx::strCmp(bx::strWord("abvgd-1389.0"), "abvgd") );
}