diff --git a/test/entt/core/any.cpp b/test/entt/core/any.cpp index 696d6b819..f0528a6cc 100644 --- a/test/entt/core/any.cpp +++ b/test/entt/core/any.cpp @@ -973,11 +973,11 @@ TEST_F(Any, DeducedArrayType) { ASSERT_TRUE(any); ASSERT_EQ(any.type(), entt::type_id()); - ASSERT_EQ((std::strcmp("array of char", entt::any_cast(any))), 0); + ASSERT_EQ((strcmp("array of char", entt::any_cast(any))), 0); any = "another array of char"; ASSERT_TRUE(any); ASSERT_EQ(any.type(), entt::type_id()); - ASSERT_EQ((std::strcmp("another array of char", entt::any_cast(any))), 0); + ASSERT_EQ((strcmp("another array of char", entt::any_cast(any))), 0); } diff --git a/test/entt/meta/meta_prop.cpp b/test/entt/meta/meta_prop.cpp index 2bbbe37e8..1028298b0 100644 --- a/test/entt/meta/meta_prop.cpp +++ b/test/entt/meta/meta_prop.cpp @@ -67,7 +67,7 @@ TEST_F(MetaProp, DeducedArrayType) { ASSERT_TRUE(prop); ASSERT_EQ(prop.key(), "char[]"_hs); ASSERT_EQ(prop.value().type(), entt::resolve()); - ASSERT_EQ(std::strcmp(prop.value().cast(), "char[]"), 0); + ASSERT_EQ(strcmp(prop.value().cast(), "char[]"), 0); } TEST_F(MetaProp, ReRegistration) {