summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/tests/sort_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bx/tests/sort_test.cpp')
-rw-r--r--3rdparty/bx/tests/sort_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/3rdparty/bx/tests/sort_test.cpp b/3rdparty/bx/tests/sort_test.cpp
index d271a3ffa03..0b078e23d90 100644
--- a/3rdparty/bx/tests/sort_test.cpp
+++ b/3rdparty/bx/tests/sort_test.cpp
@@ -23,13 +23,13 @@ TEST_CASE("quickSort", "")
{
const char* lhs = *(const char**)_lhs;
const char* rhs = *(const char**)_rhs;
- return bx::strncmp(lhs, rhs);
+ return bx::strCmp(lhs, rhs);
});
- REQUIRE(0 == bx::strncmp(str[0], "jabuka") );
- REQUIRE(0 == bx::strncmp(str[1], "jagoda") );
- REQUIRE(0 == bx::strncmp(str[2], "kruska") );
- REQUIRE(0 == bx::strncmp(str[3], "malina") );
+ REQUIRE(0 == bx::strCmp(str[0], "jabuka") );
+ REQUIRE(0 == bx::strCmp(str[1], "jagoda") );
+ REQUIRE(0 == bx::strCmp(str[2], "kruska") );
+ REQUIRE(0 == bx::strCmp(str[3], "malina") );
int8_t byte[128];
bx::RngMwc rng;