Skip to content

Commit

Permalink
test: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed May 7, 2024
1 parent 30d16b8 commit 4692e72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/entt/entity/registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ TEST(Registry, StableEmplace) {
ASSERT_EQ(registry.emplace<int>(registry.create(), 1), 1);
}

TEST(RegistryDeathTest, Emplace) {
ENTT_DEBUG_TEST(RegistryDeathTest, Emplace) {
entt::registry registry{};
const auto entity = registry.create();

Expand Down Expand Up @@ -1003,7 +1003,7 @@ TEST(Registry, Insert) {
ASSERT_EQ(registry.get<float>(entity[2u]), 2.f);
}

TEST(RegistryDeathTest, Insert) {
ENTT_DEBUG_TEST(RegistryDeathTest, Insert) {
entt::registry registry{};
const std::array entity{registry.create()};
const std::array value{0};
Expand Down Expand Up @@ -1039,7 +1039,7 @@ TEST(Registry, EmplaceOrReplaceAggregate) {
ASSERT_EQ(instance.value, 1);
}

TEST(RegistryDeathTest, EmplaceOrReplace) {
ENTT_DEBUG_TEST(RegistryDeathTest, EmplaceOrReplace) {
entt::registry registry{};
const auto entity = registry.create();

Expand Down Expand Up @@ -1447,7 +1447,7 @@ TEST(Registry, GetOrEmplace) {
ASSERT_EQ(registry.get<int>(entity), 3);
}

TEST(RegistryDeathTest, GetOrEmplace) {
ENTT_DEBUG_TEST(RegistryDeathTest, GetOrEmplace) {
entt::registry registry{};
const auto entity = registry.create();

Expand Down

0 comments on commit 4692e72

Please sign in to comment.