From 51764462759726e2aed47e2738899769749f86b9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 14:02:37 +0000 Subject: [PATCH 1/2] Initial plan From 7421b96afc6a75e19dfb2cae0ef920f4fbf93eff Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 14:03:18 +0000 Subject: [PATCH 2/2] fix: use Assert.HasCount instead of Assert.AreEqual for collection count (MSTEST0037) Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com> --- test/DemaConsulting.NuGet.CacheTool.Tests/ContextTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/DemaConsulting.NuGet.CacheTool.Tests/ContextTests.cs b/test/DemaConsulting.NuGet.CacheTool.Tests/ContextTests.cs index 7eb30e3..f112e95 100644 --- a/test/DemaConsulting.NuGet.CacheTool.Tests/ContextTests.cs +++ b/test/DemaConsulting.NuGet.CacheTool.Tests/ContextTests.cs @@ -213,7 +213,7 @@ public void Context_Create_PackageArgument_AddsToPackagesList() using var context = Context.Create(["DemaConsulting.NuGet.Caching:0.1.0"]); // Assert - Assert.AreEqual(1, context.Packages.Count); + Assert.HasCount(1, context.Packages); Assert.AreEqual("DemaConsulting.NuGet.Caching:0.1.0", context.Packages[0]); }