Michele Caini 7 лет назад
Родитель
Сommit
cc3f98ebcd
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      test/entt/core/hashed_string.cpp

+ 2 - 2
test/entt/core/hashed_string.cpp

@@ -11,8 +11,8 @@ TEST(HashedString, Functionalities) {
     auto barHs = entt::HashedString{bar};
     auto barHs = entt::HashedString{bar};
 
 
     ASSERT_NE(static_cast<hash_type>(fooHs), static_cast<hash_type>(barHs));
     ASSERT_NE(static_cast<hash_type>(fooHs), static_cast<hash_type>(barHs));
-    ASSERT_EQ(static_cast<const char *>(fooHs), "foo");
-    ASSERT_EQ(static_cast<const char *>(barHs), bar);
+    ASSERT_STREQ(static_cast<const char *>(fooHs), "foo");
+    ASSERT_STREQ(static_cast<const char *>(barHs), bar);
 
 
     ASSERT_EQ(fooHs, fooHs);
     ASSERT_EQ(fooHs, fooHs);
     ASSERT_NE(fooHs, barHs);
     ASSERT_NE(fooHs, barHs);