1
0
Эх сурвалжийг харах

test: try to make the CI happy again

skypjack 1 сар өмнө
parent
commit
adabdca362

+ 3 - 2
test/entt/core/type_traits.cpp

@@ -274,6 +274,7 @@ TEST(NthArgument, Functionalities) {
 
 TEST(Tag, Functionalities) {
     using namespace entt::literals;
-    ASSERT_EQ(entt::tag<"foobar"_hs>::value, entt::hashed_string::value("foobar"));
-    testing::StaticAssertTypeEq<entt::tag<"foobar"_hs>::value_type, entt::id_type>();
+    static constexpr entt::id_type tag = "tag"_hs;
+    ASSERT_EQ(entt::tag<tag>::value, entt::hashed_string::value("tag"));
+    testing::StaticAssertTypeEq<entt::tag<tag>::value_type, entt::id_type>();
 }