Skip to content

Commit

Permalink
test: avoid magic numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Oct 3, 2024
1 parent 83ebbea commit bf0e78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/entt/entity/reactive_mixin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ TYPED_TEST(ReactiveMixin, View) {
pool.template on_construct<test::empty>();
registry.insert<test::empty>(entity.begin(), entity.end());
registry.insert<double>(entity.begin(), entity.end());
registry.emplace<int>(entity[1u], 42);
registry.emplace<int>(entity[1u], 1);

ASSERT_EQ(pool.size(), 2u);
ASSERT_TRUE(pool.contains(entity[0u]));
Expand Down

0 comments on commit bf0e78f

Please sign in to comment.