From a81836e78a25269aec5ea51f4999981221d93e9c Mon Sep 17 00:00:00 2001 From: NeferSeti Date: Sun, 17 Mar 2024 03:09:02 +0100 Subject: [PATCH] Attempt fix for min version test --- registry.json | 8 ++++---- src/UnityNuGet.Tests/RegistryTests.cs | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/registry.json b/registry.json index d10b31f..313bf70 100644 --- a/registry.json +++ b/registry.json @@ -418,11 +418,11 @@ }, "FastMember": { "listed": true, - "version": "1.4.0" + "version": "1.2.0" }, "FastMember.Signed": { "listed": true, - "version": "1.4.0" + "version": "1.2.0" }, "FluentAssertions": { "listed": true, @@ -1295,7 +1295,7 @@ }, "SixLabors.Fonts": { "listed": true, - "version": "1.0.0" + "version": "[1.0.0,2.0.0)" }, "SixLabors.ImageSharp": { "listed": true, @@ -1417,7 +1417,7 @@ }, "System.IO.Packaging": { "listed": true, - "version": "6.0.0" + "version": "4.5.0" }, "System.IO.Pipelines": { "listed": true, diff --git a/src/UnityNuGet.Tests/RegistryTests.cs b/src/UnityNuGet.Tests/RegistryTests.cs index 79c231e..7b8ef86 100644 --- a/src/UnityNuGet.Tests/RegistryTests.cs +++ b/src/UnityNuGet.Tests/RegistryTests.cs @@ -140,7 +140,9 @@ public async Task Ensure_Min_Version_Is_Correct_Ignoring_Analyzers_And_Native_Li @"Dapplo.Windows.Messages", @"Dapplo.Windows.User32", // It has too many versions, the minimum version is lifted so as not to process so many versions - @"UnitsNet.*" + @"UnitsNet.*", + // Most versions < 1.7.0 don't target .netstandard2.0 + @"XLParser" }; var excludedPackagesRegex = new Regex(@$"^{string.Join('|', excludedPackages)}$");