mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Switching code to use StringView.
This commit is contained in:
@@ -159,9 +159,9 @@ TEST_CASE("strCmpV sort", "")
|
||||
TEST_CASE("strRFind", "")
|
||||
{
|
||||
const char* test = "test";
|
||||
REQUIRE(NULL == bx::strRFind(test, 0, 's') );
|
||||
REQUIRE(NULL == bx::strRFind(test, 1, 's') );
|
||||
REQUIRE(&test[2] == bx::strRFind(test, INT32_MAX, 's') );
|
||||
REQUIRE(NULL == bx::strRFind(bx::StringView(test, 0), 's') );
|
||||
REQUIRE(NULL == bx::strRFind(bx::StringView(test, 1), 's') );
|
||||
REQUIRE(&test[2] == bx::strRFind(test, 's') );
|
||||
}
|
||||
|
||||
TEST_CASE("strFindI", "")
|
||||
|
||||
Reference in New Issue
Block a user