diff --git a/src/Tests-internal/ECS/Test_Index.cs b/src/Tests-internal/ECS/Test_Index.cs
index 64e7f8a3..05be804d 100644
--- a/src/Tests-internal/ECS/Test_Index.cs
+++ b/src/Tests-internal/ECS/Test_Index.cs
@@ -124,6 +124,17 @@ public static void Test_Index_EntityNode()
AreEqual("Components: [IndexedInt]", node.IsOwner.ToString());
AreEqual("Components: [AttackComponent]", node.IsLinked.ToString());
}
+
+ /// Cover
+ [Test]
+ public static void Test_Index_cover_removing_missing_target_entity()
+ {
+ var store = new EntityStore();
+ var entity = store.CreateEntity();
+ var index = StoreIndex.GetIndex(store, StructInfo.Index);
+ var entityIndex = (EntityIndex)index;
+ EntityIndexUtils.RemoveComponentValue(entity.Id, 42, entityIndex);
+ }
}
}