Browse Source

test: minor changes

skypjack 9 months ago
parent
commit
20af487ea9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test/entt/entity/runtime_view.cpp

+ 2 - 0
test/entt/entity/runtime_view.cpp

@@ -89,6 +89,8 @@ TYPED_TEST(RuntimeView, InvalidView) {
     view.each([](const entt::entity) { FAIL(); });
 
     entt::storage<int> storage;
+
+    storage.emplace(entt::entity{});
     view.iterate(storage);
 
     ASSERT_TRUE(view);