Skip to content

Commit

Permalink
test: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Apr 30, 2024
1 parent a3cea32 commit 41aab92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/entt/entity/table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ ENTT_DEBUG_TEST(TableDeathTest, Indexing) {
entt::table<int, char> table;

ASSERT_DEATH([[maybe_unused]] auto value = table[0u], "");
ASSERT_DEATH([[maybe_unused]] auto value = std::as_const(table)[0u], "");
}

TEST(Table, Clear) {
Expand Down

0 comments on commit 41aab92

Please sign in to comment.