diff --git a/FsAutoComplete.Tests/Tests.fs b/FsAutoComplete.Tests/Tests.fs index a8f693dc1..e18db7777 100644 --- a/FsAutoComplete.Tests/Tests.fs +++ b/FsAutoComplete.Tests/Tests.fs @@ -36,18 +36,14 @@ let ``normalCracking`` () = [] let ``should find FSharp.Core`` () = - match Environment.fsharpCoreOpt with - | None -> Assert.Fail() - | Some fileName -> printfn "FSharp.Core found at '%s'" fileName; Assert.Pass() + Assert.That(Option.isSome Environment.fsharpCoreOpt, "FSharp.Core.dll resolution failed") [] let ``should find fsc on Windows`` () = if not Utils.runningOnMono then - printfn "fsc.exe found at '%s'" Environment.fsc Assert.That(Environment.fsc.Contains("Microsoft SDKs"), "fsc.exe resolution failed") [] let ``should find msbuild on Windows`` () = if not Utils.runningOnMono then - printfn "msbuild.exe found at '%s'" Environment.msbuild Assert.That(Environment.msbuild.Length > "MSBuild.exe".Length, "MSBuild.exe resolution failed")