Sfoglia il codice sorgente

test: minor changes

skypjack 1 anno fa
parent
commit
20af487ea9
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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);