Skip to content

Commit

Permalink
test: linter changes
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Dec 12, 2024
1 parent b9c50bc commit b879c72
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/entt/container/table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ TEST(Table, CustomAllocator) {
ASSERT_NE(table.capacity(), 0u);
ASSERT_EQ(table.size(), 2u);

other = {};
table.swap(other);
table = std::move(other);
test::is_initialized(other);
Expand Down
1 change: 1 addition & 0 deletions test/entt/entity/reactive_mixin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ TYPED_TEST(ReactiveMixin, CustomAllocator) {
ASSERT_NE(pool.capacity(), 0u);
ASSERT_EQ(pool.size(), 2u);

other = {};
pool.swap(other);
pool = std::move(other);
test::is_initialized(other);
Expand Down
1 change: 1 addition & 0 deletions test/entt/entity/sigh_mixin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ TYPED_TEST(SighMixin, CustomAllocator) {
ASSERT_NE(pool.capacity(), 0u);
ASSERT_EQ(pool.size(), 2u);

other = {};
pool.swap(other);
pool = std::move(other);
test::is_initialized(other);
Expand Down
1 change: 1 addition & 0 deletions test/entt/entity/sparse_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2026,6 +2026,7 @@ TYPED_TEST(SparseSet, CustomAllocator) {
ASSERT_EQ(set.capacity(), 2u);
ASSERT_EQ(set.size(), 2u);

other = {};
set.swap(other);
set = std::move(other);
test::is_initialized(other);
Expand Down
1 change: 1 addition & 0 deletions test/entt/entity/storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1761,6 +1761,7 @@ TYPED_TEST(Storage, CustomAllocator) {
ASSERT_NE(pool.capacity(), 0u);
ASSERT_EQ(pool.size(), 2u);

other = {};
pool.swap(other);
pool = std::move(other);
test::is_initialized(other);
Expand Down

0 comments on commit b879c72

Please sign in to comment.