Skip to content

Commit da644f6

Browse files
committed
chore(InternalTests): add failing test cases
1 parent 0f4a53f commit da644f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CSharpLanguageServer.Tests/InternalTests.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ open NUnit.Framework
55

66
open CSharpLanguageServer.Roslyn.Solution
77

8-
98
[<TestCase("1.csproj:net8.0", "net8.0")>]
109
[<TestCase("1.csproj:net8.0,net10.0", "net10.0")>]
1110
[<TestCase("1.csproj:net8.0,netstandard2.0", "net8.0")>]
@@ -16,6 +15,8 @@ open CSharpLanguageServer.Roslyn.Solution
1615
[<TestCase("1.csproj:net8.0,net10.0 2.csproj:netstandard2.0,net462", null)>]
1716
[<TestCase("1.csproj:net8.0,net10.0 2.csproj:net8.0,net10.0", "net10.0")>]
1817
[<TestCase("1.csproj:net8.0 2.csproj:net8.0,net10.0", "net8.0")>]
18+
[<TestCase("1.csproj:net8.0 2.csproj:net9.0-windows", "net9.0-windows")>]
19+
[<TestCase("1.csproj:net9.0 2.csproj:net9.0-windows", "net9.0-windows")>]
1920
let testApplyWorkspaceTargetFrameworkProp (tfmList: string, expectedTfm: string | null) =
2021

2122
let parseTfmList (projectEntry: string) : string * list<string> =
@@ -38,7 +39,6 @@ let testApplyWorkspaceTargetFrameworkProp (tfmList: string, expectedTfm: string
3839

3940
Assert.AreEqual(expectedTfm |> Option.ofObj, props |> Map.tryFind "TargetFramework")
4041

41-
4242
[<TestCase>]
4343
let testApplyWorkspaceTargetFrameworkPropWithEmptyMap () =
4444
let props = Map.empty |> applyWorkspaceTargetFrameworkProp Map.empty

0 commit comments

Comments
 (0)