From c6cbfe76e773469919330a8ee5ad81490d4c5116 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Fri, 13 Sep 2024 13:37:54 -0400 Subject: [PATCH] fix: failing hashcode test --- .../WorkspaceManagement/ApiClientConfigurationComparerTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Kiota.Builder.Tests/WorkspaceManagement/ApiClientConfigurationComparerTests.cs b/tests/Kiota.Builder.Tests/WorkspaceManagement/ApiClientConfigurationComparerTests.cs index f967f0b54b..161466ccc6 100644 --- a/tests/Kiota.Builder.Tests/WorkspaceManagement/ApiClientConfigurationComparerTests.cs +++ b/tests/Kiota.Builder.Tests/WorkspaceManagement/ApiClientConfigurationComparerTests.cs @@ -25,10 +25,11 @@ public void GetsHashCode() var stringComparer = StringComparer.OrdinalIgnoreCase; hash.Add(string.Empty, stringComparer); hash.Add(string.Empty, stringComparer); + hash.Add("public", stringComparer); hash.Add(false); hash.Add(true); hash.Add(false); - hash.Add(new List(), iEnumComparer); + hash.Add([], iEnumComparer); var hash2 = new HashCode(); hash2.Add(string.Empty, stringComparer); hash2.Add(string.Empty, stringComparer);