fixed tests (#129)

This commit is contained in:
Michele Caini
2018-08-22 14:00:11 +02:00
parent 4116e2d6ac
commit cc3f98ebcd

View File

@@ -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);