Skip to content

Commit 265028b

Browse files
committed
correct dependency files tests
1 parent a7f333e commit 265028b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/service/ProjectAnalysisTests.fs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4499,13 +4499,12 @@ module Project35b =
44994499

45004500
[<Test>]
45014501
let ``Test project35b Dependency files for ParseFileInProject`` () =
4502+
// This is testing legacy functionality
45024503
let parseFileResults = checker.ParseFileInProject(Project35b.fileName1, Project35b.fileSource1, Project35b.options) |> Async.RunSynchronously
45034504
for d in parseFileResults.DependencyFiles do
45044505
printfn "ParseFileInProject dependency: %s" d
4505-
// parseFileResults.DependencyFiles.Length |> shouldEqual 3
45064506
parseFileResults.DependencyFiles |> List.exists (fun s -> s.Contains "notexist.dll") |> shouldEqual true
4507-
parseFileResults.DependencyFiles |> List.exists (fun s -> s.Contains Project35b.fileName1) |> shouldEqual false
4508-
/// parseFileResults.DependencyFiles |> List.exists (fun s -> s.Contains "FSharp.Compiler.Interactive.Settings.dll") |> shouldEqual true
4507+
parseFileResults.DependencyFiles |> List.exists (fun s -> s.Contains Project35b.fileName1) |> shouldEqual true
45094508

45104509
[<Test>]
45114510
let ``Test project35b Dependency files for ParseAndCheckFileInProject`` () =

0 commit comments

Comments
 (0)