File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/FsAutoComplete/LspServers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2647,7 +2647,8 @@ type AdaptiveState
26472647
26482648 let testProjectBinaries = filteredTestProjects |> List.map _. TargetPath
26492649
2650- let projectLookup = testProjects |> Seq.map ( fun p -> p.TargetPath, p) |> Map.ofSeq
2650+ let projectsByBinaryPath =
2651+ testProjects |> Seq.map ( fun p -> p.TargetPath, p) |> Map.ofSeq
26512652
26522653 let tryTestResultsToDTOs testCases =
26532654 let tryTestResultToDTO
@@ -2660,7 +2661,7 @@ type AdaptiveState
26602661 TestServer.TestResult.ofVsTestResult project.ProjectFileName project.TargetFramework testResult
26612662 |> Some
26622663
2663- testCases |> List.choose ( tryTestResultToDTO projectLookup )
2664+ testCases |> List.choose ( tryTestResultToDTO projectsByBinaryPath )
26642665
26652666 use tokenSource = new CancellationTokenSource()
26662667
@@ -2674,7 +2675,7 @@ type AdaptiveState
26742675 TestResults = progress.NewTestResults |> List.ofSeq |> tryTestResultsToDTOs |> Array.ofSeq
26752676 ActiveTests =
26762677 progress.ActiveTests
2677- |> Seq.choose ( TestServer.TestItem.tryTestCaseToDTO projectLookup .TryFind)
2678+ |> Seq.choose ( TestServer.TestItem.tryTestCaseToDTO projectsByBinaryPath .TryFind)
26782679 |> Array.ofSeq }
26792680 | TestServer.VSTestWrapper.TestRunUpdate.LogMessage( level, message) ->
26802681 { TestLogs =
You can’t perform that action at this time.
0 commit comments