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 @@ -2664,7 +2664,8 @@ type AdaptiveState
26642664
26652665 let testProjectBinaries = filteredTestProjects |> List.map _. TargetPath
26662666
2667- let projectLookup = testProjects |> Seq.map ( fun p -> p.TargetPath, p) |> Map.ofSeq
2667+ let projectsByBinaryPath =
2668+ testProjects |> Seq.map ( fun p -> p.TargetPath, p) |> Map.ofSeq
26682669
26692670 let tryTestResultsToDTOs testCases =
26702671 let tryTestResultToDTO
@@ -2677,7 +2678,7 @@ type AdaptiveState
26772678 TestServer.TestResult.ofVsTestResult project.ProjectFileName project.TargetFramework testResult
26782679 |> Some
26792680
2680- testCases |> List.choose ( tryTestResultToDTO projectLookup )
2681+ testCases |> List.choose ( tryTestResultToDTO projectsByBinaryPath )
26812682
26822683 use tokenSource = new CancellationTokenSource()
26832684
@@ -2691,7 +2692,7 @@ type AdaptiveState
26912692 TestResults = progress.NewTestResults |> List.ofSeq |> tryTestResultsToDTOs |> Array.ofSeq
26922693 ActiveTests =
26932694 progress.ActiveTests
2694- |> Seq.choose ( TestServer.TestItem.tryTestCaseToDTO projectLookup .TryFind)
2695+ |> Seq.choose ( TestServer.TestItem.tryTestCaseToDTO projectsByBinaryPath .TryFind)
26952696 |> Array.ofSeq }
26962697 | TestServer.VSTestWrapper.TestRunUpdate.LogMessage( level, message) ->
26972698 { TestLogs =
You can’t perform that action at this time.
0 commit comments