File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
FSharpLint.Core.Tests/Framework
FSharpLint.FunctionalTest Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ type TestAst() =
104104 let result = times |> Seq.sum |> ( fun totalMilliseconds -> totalMilliseconds / int64 iterations)
105105
106106 Assert.Less( result, 200 )
107- TestContext.Out.WriteLine ( sprintf " Built array in an average of %d milliseconds." result)
107+ fprintf TestContext.Out " Built array in an average of %d milliseconds." result
108108
109109 [<Test>]
110110 member __. ``Syntax array constructed from AST in valid order.`` () =
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ type TestAst() =
146146
147147 stopwatch.Stop()
148148 Assert.Less( stopwatch.ElapsedMilliseconds, 50 )
149- TestContext.Out.WriteLine ( sprintf " Iterated array in %d milliseconds." stopwatch.ElapsedMilliseconds)
149+ fprintf TestContext.Out " Iterated array in %d milliseconds." stopwatch.ElapsedMilliseconds
150150
151151 [<Category( " Hint Matcher" ) >]
152152 [<Test>]
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ module TestApi =
5858 let result = times |> Seq.sum |> ( fun totalMilliseconds -> totalMilliseconds / int64 iterations)
5959
6060 Assert.Less( result, 250 )
61- TestContext.Out.WriteLine ( sprintf " Average runtime of linter on parsed file: %d (milliseconds)." result)
61+ fprintf TestContext.Out " Average runtime of linter on parsed file: %d (milliseconds)." result
6262
6363 [<Test>]
6464 member __. ``Lint project via absolute path`` () =
You can’t perform that action at this time.
0 commit comments