From 508979d1fd72e7ea1c2e119b4b5ce924c984775a Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Fri, 15 Nov 2024 22:52:08 +0100 Subject: [PATCH] New test and snapshot. --- .../GraphSon/GraphsonSupportTestBase.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/Tests.Infrastructure/GraphSon/GraphsonSupportTestBase.cs b/test/Tests.Infrastructure/GraphSon/GraphsonSupportTestBase.cs index 5d362770e..07bdd48b3 100644 --- a/test/Tests.Infrastructure/GraphSon/GraphsonSupportTestBase.cs +++ b/test/Tests.Infrastructure/GraphSon/GraphsonSupportTestBase.cs @@ -120,6 +120,20 @@ public Task IList_from_typed_values() => Verify>(""" ] """); + [Fact] + public Task ImmutableDictionary_with_typed_values_from_map() => Verify>(""" + [ + { + "@type": "g:Map", + "@value": + [ + "key1", { "@type": "g:Int32", "@value": 1 }, + "key2", { "@type": "g:Int32", "@value": 2 } + ] + } + ] + """); + [Fact] public Task GraphSon3ReferenceVertex() => Verify(Graphson3ReferenceVertex);