mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Renaming string functions.
This commit is contained in:
@@ -20,7 +20,7 @@ TEST_CASE("vsnprintf truncated", "Truncated output buffer.")
|
||||
char buffer[7];
|
||||
|
||||
REQUIRE(10 == bx::snprintf(buffer, BX_COUNTOF(buffer), "Ten chars!") );
|
||||
REQUIRE(0 == bx::strncmp(buffer, "Ten ch") );
|
||||
REQUIRE(0 == bx::strCmp(buffer, "Ten ch") );
|
||||
}
|
||||
|
||||
static bool test(const char* _expected, const char* _format, ...)
|
||||
@@ -35,7 +35,7 @@ static bool test(const char* _expected, const char* _format, ...)
|
||||
|
||||
bool result = true
|
||||
&& len == max-1
|
||||
&& 0 == bx::strncmp(_expected, temp)
|
||||
&& 0 == bx::strCmp(_expected, temp)
|
||||
;
|
||||
|
||||
if (!result)
|
||||
|
||||
Reference in New Issue
Block a user