From 75c8e5a13b03ae69afc85137e0423e769729f72c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 13:27:39 +0000 Subject: [PATCH 1/2] Bump the test-deps group with 5 updates Bumps FsCheck.Xunit from 3.0.0 to 3.3.3 Bumps FsUnit.xUnit from 6.0.0 to 7.1.1 Bumps Microsoft.NET.Test.Sdk from 17.11.1 to 18.6.0 Bumps xunit from 2.9.2 to 2.9.3 Bumps xunit.runner.visualstudio from 2.8.2 to 3.1.5 --- updated-dependencies: - dependency-name: FsCheck.Xunit dependency-version: 3.3.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test-deps - dependency-name: FsUnit.xUnit dependency-version: 7.1.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: test-deps - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.6.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: test-deps - dependency-name: xunit dependency-version: 2.9.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: test-deps - dependency-name: xunit.runner.visualstudio dependency-version: 3.1.5 dependency-type: direct:production update-type: version-update:semver-major dependency-group: test-deps ... Signed-off-by: dependabot[bot] --- Directory.Packages.props | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index fe34bbf..74c80f1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,11 +5,11 @@ - - - - - + + + + + From 948b2fa14a861d70741385d7bbc503141124d90d Mon Sep 17 00:00:00 2001 From: Helge Sverre Date: Fri, 29 May 2026 04:54:05 +0200 Subject: [PATCH 2/2] build(test): let test platform own the entry point on Test.Sdk 18 Microsoft.NET.Test.Sdk 18 and xunit.runner.visualstudio 3.x generate a Microsoft.Testing.Platform entry point at build time. F# permits a single [] and requires it to be last, so the hand-written one in Program.fs collided with the generated Main (FS0433). Drop the manual entry point and let the platform generate it; tests still run under VSTest via dotnet test. --- tests/Fedit.Tests/Program.fs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/Fedit.Tests/Program.fs b/tests/Fedit.Tests/Program.fs index d89ca6a..708cbf1 100644 --- a/tests/Fedit.Tests/Program.fs +++ b/tests/Fedit.Tests/Program.fs @@ -1,4 +1,7 @@ module Fedit.Tests.Program -[] -let main _ = 0 +// Microsoft.NET.Test.Sdk 18 + xunit.runner.visualstudio 3.x generate the test +// entry point at build time (Microsoft.Testing.Platform). F# allows only one +// [] and it must be the last declaration in the last file, so a +// hand-written one collides with the generated Main (FS0433). We let the +// platform own the entry point; tests still run under VSTest via dotnet test.