summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/entity.cpp b/test/entity.cpp
index 5db83974..59ff5004 100644
--- a/test/entity.cpp
+++ b/test/entity.cpp
@@ -171,8 +171,6 @@ void test_predicate()
fm_assert(m_foo3.erased().is_enabled(x));
}
-} // namespace
-
static constexpr bool test_names()
{
constexpr auto m = entity_metadata<TestAccessors>();
@@ -189,6 +187,8 @@ static constexpr bool test_names()
return true;
}
+} // namespace
+
void test_app::test_entity()
{
static_assert(test_accessors());