From 2663fa900f7d249eb51a19dd6f6287637106e4be Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Tue, 20 Jun 2023 10:22:04 +1000 Subject: [PATCH] update to expecto 10 (#922) --- src/Verify.Expecto.DerivePaths.Tests/Program.cs | 2 +- src/Verify.Expecto.FSharpTests/Main.fs | 2 +- src/Verify.Expecto.Tests/Program.cs | 2 +- src/Verify.Expecto/Verify.Expecto.csproj | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Verify.Expecto.DerivePaths.Tests/Program.cs b/src/Verify.Expecto.DerivePaths.Tests/Program.cs index c249fb1285..efc5ceee01 100644 --- a/src/Verify.Expecto.DerivePaths.Tests/Program.cs +++ b/src/Verify.Expecto.DerivePaths.Tests/Program.cs @@ -1 +1 @@ -return Runner.RunTestsInAssembly(Runner.DefaultConfig, args); \ No newline at end of file +return Runner.RunTestsInAssemblyWithCLIArgs(Enumerable.Empty(), args); \ No newline at end of file diff --git a/src/Verify.Expecto.FSharpTests/Main.fs b/src/Verify.Expecto.FSharpTests/Main.fs index 074df894f5..1d7f97eac1 100644 --- a/src/Verify.Expecto.FSharpTests/Main.fs +++ b/src/Verify.Expecto.FSharpTests/Main.fs @@ -4,4 +4,4 @@ open Expecto [] let main argv = - Tests.runTestsInAssembly defaultConfig argv + Tests.runTestsInAssemblyWithCLIArgs [] argv diff --git a/src/Verify.Expecto.Tests/Program.cs b/src/Verify.Expecto.Tests/Program.cs index c249fb1285..efc5ceee01 100644 --- a/src/Verify.Expecto.Tests/Program.cs +++ b/src/Verify.Expecto.Tests/Program.cs @@ -1 +1 @@ -return Runner.RunTestsInAssembly(Runner.DefaultConfig, args); \ No newline at end of file +return Runner.RunTestsInAssemblyWithCLIArgs(Enumerable.Empty(), args); \ No newline at end of file diff --git a/src/Verify.Expecto/Verify.Expecto.csproj b/src/Verify.Expecto/Verify.Expecto.csproj index f3e8a30791..4543c9a155 100644 --- a/src/Verify.Expecto/Verify.Expecto.csproj +++ b/src/Verify.Expecto/Verify.Expecto.csproj @@ -1,7 +1,6 @@ - net462;net472;net48 - $(TargetFrameworks);netstandard2.0;netstandard2.1;netcoreapp3.1;netcoreapp3.0;netcoreapp2.2;netcoreapp2.1;net5.0;net6.0;net7.0;net8.0 + net6.0;net7.0;net8.0