Sfoglia il codice sorgente

test: minor changes

Michele Caini 5 anni fa
parent
commit
9d72ffb9fe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      test/entt/meta/meta_template.cpp

+ 1 - 1
test/entt/meta/meta_template.cpp

@@ -37,7 +37,7 @@ TEST(MetaTemplate, Valid) {
 }
 }
 
 
 TEST(MetaTemplate, CustomTraits) {
 TEST(MetaTemplate, CustomTraits) {
-    const auto type = entt::resolve<function_type<void(int, char)>>();
+    const auto type = entt::resolve<function_type<void(int, const char &)>>();
 
 
     ASSERT_TRUE(type.is_template_specialization());
     ASSERT_TRUE(type.is_template_specialization());
     ASSERT_EQ(type.template_arity(), 3u);
     ASSERT_EQ(type.template_arity(), 3u);