summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/tests/vsnprintf_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bx/tests/vsnprintf_test.cpp')
-rw-r--r--3rdparty/bx/tests/vsnprintf_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/bx/tests/vsnprintf_test.cpp b/3rdparty/bx/tests/vsnprintf_test.cpp
index 12aea7bbb25..8498ec39096 100644
--- a/3rdparty/bx/tests/vsnprintf_test.cpp
+++ b/3rdparty/bx/tests/vsnprintf_test.cpp
@@ -20,12 +20,12 @@ 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, ...)
{
- int32_t max = (int32_t)bx::strnlen(_expected) + 1;
+ int32_t max = (int32_t)bx::strLen(_expected) + 1;
char* temp = (char*)alloca(max);
va_list argList;
@@ -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)