From 1956145ea2a9756d44c01fc1863192af6d92bef4 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 15 Oct 2026 02:56:18 +0200 Subject: [PATCH] UnionArmGuardTests: maps in the shape sweep hold a list-carrying object Co-Authored-By: Claude Sonnet 5.5 --- tests/GameCult.Caching.Tests/UnionArmGuardTests.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/GameCult.Caching.Tests/UnionArmGuardTests.cs b/tests/GameCult.Caching.Tests/UnionArmGuardTests.cs index 66596b78..49754af0 100644 --- a/tests/GameCult.Caching.Tests/UnionArmGuardTests.cs +++ b/tests/GameCult.Caching.Tests/UnionArmGuardTests.cs @@ -387,10 +387,10 @@ namespace GameCult.Caching.Tests typeof(G>), typeof(G>), typeof(G>), typeof(G>), typeof(G>), typeof(G>), typeof(G>), typeof(G>>), - typeof(G>), typeof(G>), typeof(G>), - typeof(G>), typeof(G>), - typeof(G>), typeof(G>), - typeof(G>), typeof(G), typeof(G), typeof(G), + typeof(G>), typeof(G>), typeof(G>), + typeof(G>), typeof(G>), + typeof(G>), typeof(G>), + typeof(G>), typeof(G), typeof(G), typeof(G), }) { if (holder != typeof(G)) @@ -443,6 +443,7 @@ namespace GameCult.Caching.Tests [MessagePackObject] public sealed class G { [Key(0)] public T? Value; } [Union(0, typeof(GuArm))] public interface IGu { } [MessagePackObject] public sealed class GuArm : IGu { [Key(0)] [CultElementId] public string Id = string.Empty; [Key(1)] public List Items = new(); } + [MessagePackObject] public sealed class GHold { [Key(0)] public List Items = new(); } [MessagePackObject] public struct GStruct { [Key(0)] public List Items; } #pragma warning disable CS0169, CS0414, CS0649