From 866e4789527fc2a1b037643bec6541bb0df0194d Mon Sep 17 00:00:00 2001 From: Constantin Tews Date: Tue, 7 Nov 2023 18:11:07 +0100 Subject: [PATCH] Change LOCKEDVERSION operator in nuget package template. Set xunit to v2.5.3. --- paket.dependencies | 2 +- paket.lock | 8 ++++---- src/FsUnit.MsTestUnit/paket.template | 4 ++-- src/FsUnit.NUnit/paket.template | 2 +- src/FsUnit.Xunit/paket.template | 4 ++-- tests/FsUnit.NUnit.Test/init.fs | 2 ++ 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/paket.dependencies b/paket.dependencies index 71ec3714..c722bb8d 100644 --- a/paket.dependencies +++ b/paket.dependencies @@ -13,7 +13,7 @@ nuget System.Collections.NonGeneric // xUnit nuget NHamcrest -nuget xunit +nuget xunit ~> 2.5.3 nuget xunit.runner.visualstudio // MsTest diff --git a/paket.lock b/paket.lock index bd049b51..778064bc 100644 --- a/paket.lock +++ b/paket.lock @@ -21,9 +21,9 @@ NUGET NETStandard.Library (2.0.3) Microsoft.NETCore.Platforms (>= 1.1) Newtonsoft.Json (13.0.3) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1)) - NHamcrest (3.3) + NHamcrest (3.4) NuGet.Frameworks (6.7) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp3.1)) - NUnit (3.13.3) + NUnit (3.14) NETStandard.Library (>= 2.0) NUnit3TestAdapter (4.5) runtime.native.System (4.3.1) - restriction: || (== net6.0) (&& (== netstandard2.0) (>= netcoreapp1.0)) @@ -123,8 +123,8 @@ NUGET xunit.core (2.5.3) xunit.abstractions (2.0.3) xunit.analyzers (1.4) - xunit.assert (2.5.3) - NETStandard.Library (>= 1.6.1) + xunit.assert (2.6.1) + NETStandard.Library (>= 1.6.1) - restriction: == netstandard2.0 xunit.core (2.5.3) xunit.extensibility.core (2.5.3) xunit.extensibility.execution (2.5.3) diff --git a/src/FsUnit.MsTestUnit/paket.template b/src/FsUnit.MsTestUnit/paket.template index ac988256..744804ec 100644 --- a/src/FsUnit.MsTestUnit/paket.template +++ b/src/FsUnit.MsTestUnit/paket.template @@ -27,6 +27,6 @@ files ../../src/install.ps1 ==> tools dependencies - MSTest.TestFramework ~> LOCKEDVERSION - NHamcrest ~> LOCKEDVERSION + MSTest.TestFramework >= LOCKEDVERSION + NHamcrest >= LOCKEDVERSION FSharp.Core >= LOCKEDVERSION diff --git a/src/FsUnit.NUnit/paket.template b/src/FsUnit.NUnit/paket.template index 090338a3..3b8f44d7 100644 --- a/src/FsUnit.NUnit/paket.template +++ b/src/FsUnit.NUnit/paket.template @@ -27,5 +27,5 @@ files ../../src/install.ps1 ==> tools dependencies - NUnit ~> LOCKEDVERSION + NUnit >= LOCKEDVERSION FSharp.Core >= LOCKEDVERSION diff --git a/src/FsUnit.Xunit/paket.template b/src/FsUnit.Xunit/paket.template index 83e1f1e1..8199b08a 100644 --- a/src/FsUnit.Xunit/paket.template +++ b/src/FsUnit.Xunit/paket.template @@ -27,6 +27,6 @@ files ../../src/install.ps1 ==> tools dependencies - xunit ~> LOCKEDVERSION - NHamcrest ~> LOCKEDVERSION + xunit >= LOCKEDVERSION + NHamcrest >= LOCKEDVERSION FSharp.Core >= LOCKEDVERSION diff --git a/tests/FsUnit.NUnit.Test/init.fs b/tests/FsUnit.NUnit.Test/init.fs index e7fb6d3f..33701a29 100644 --- a/tests/FsUnit.NUnit.Test/init.fs +++ b/tests/FsUnit.NUnit.Test/init.fs @@ -1,6 +1,8 @@ namespace global open FsUnit +open NUnit.Framework +[] type InitMsgUtils() = inherit FSharpCustomMessageFormatter()