Browse Source

fixed tests (#129)

Michele Caini 7 years ago
parent
commit
cc3f98ebcd
1 changed files with 2 additions and 2 deletions
  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};
 
     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_NE(fooHs, barHs);