This commit is contained in:
Branimir Karadžić
2017-11-12 19:56:03 -08:00
parent 54fad631a4
commit 386d050b75

View File

@@ -378,4 +378,7 @@ TEST_CASE("Trim", "")
REQUIRE(0 == bx::strCmp(bx::strTrim("abvgd", "da"), "bvg") );
REQUIRE(0 == bx::strCmp(bx::strTrim("<1389>", "<>"), "1389") );
REQUIRE(0 == bx::strCmp(bx::strTrim("/555333/podmac/", "/"), "555333/podmac") );
REQUIRE(0 == bx::strCmp(bx::strTrim("abvgd", ""), "abvgd") );
REQUIRE(0 == bx::strCmp(bx::strTrim(" \t a b\tv g d \t ", " \t"), "a b\tv g d") );
}