summaryrefslogtreecommitdiffhomepage
path: root/test/entity.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-19 13:36:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-19 13:44:33 +0100
commiteaee8b78edd7b3499ada27d377150be6306f8016 (patch)
treef8c16f201eb9b17b6abd2fb3b659f25b8f988e6a /test/entity.cpp
parent71b2c6cd30b7715e3678f4bb1ed4fba67f6b797e (diff)
entity: whitespace
Diffstat (limited to 'test/entity.cpp')
-rw-r--r--test/entity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/entity.cpp b/test/entity.cpp
index e1f221f1..faaa0d41 100644
--- a/test/entity.cpp
+++ b/test/entity.cpp
@@ -163,7 +163,7 @@ void test_predicate()
static_assert(foo.is_enabled(foo.predicate, x) == field_status::hidden);
fm_assert(foo.erased().is_enabled(x) == field_status::hidden);
constexpr auto foo2 = entity::type<int>::field{"foo"_s, &TestAccessors::foo, &TestAccessors::foo,
- [](const TestAccessors&) { return field_status::readonly; }};
+ [](const TestAccessors&) { return field_status::readonly; }};
static_assert(foo2.is_enabled(foo2.predicate, x) == field_status::readonly);
fm_assert(foo2.erased().is_enabled(x) == field_status::readonly);
constexpr auto foo3 = entity::type<int>::field{"foo"_s, &TestAccessors::foo, &TestAccessors::foo};