You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2021/01/28 10:10:24 UTC

[ignite] 02/09: add test

This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-14067
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit a0050d1189f4df1cef5343b19689424edbfc972b
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Wed Jan 27 18:29:32 2021 +0300

    add test
---
 .../platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs
index b167c46..bf75ae5 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinarySelfTest.cs
@@ -1673,6 +1673,7 @@ namespace Apache.Ignite.Core.Tests.Binary
             var res = _marsh.Unmarshal<NestedList[]>(bytes);
 
             Assert.AreEqual(2, res.Length);
+            Assert.AreEqual(0, res[0].Inner.Count);
         }
 
         private static void CheckKeepSerialized(BinaryConfiguration cfg, bool expKeep)
@@ -2794,6 +2795,7 @@ namespace Apache.Ignite.Core.Tests.Binary
 
         private class NestedList
         {
+            // ReSharper disable once CollectionNeverUpdated.Local
             public IList<object> Inner { get; set; }
         }
     }