Browse Source

test: minor changes

Michele Caini 3 years ago
parent
commit
336bcf4d11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/entt/meta/meta_ctor.cpp

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

@@ -207,7 +207,7 @@ TEST_F(MetaCtor, ReRegistration) {
 
     auto *node = entt::internal::resolve<double>();
 
-    ASSERT_NE(node->ctor, nullptr);
+    ASSERT_FALSE(node->ctor.empty());
     // implicitly generated default constructor is not cleared
     ASSERT_NE(node->default_constructor, nullptr);
 }