File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
FSharp.Compiler.Unittests
FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22namespace FSharp.Compiler.Unittests
33
44open System
5+ open System.Globalization
56open System.Text
67open NUnit.Framework
78open Microsoft.FSharp .Compiler
@@ -16,7 +17,7 @@ module EditDistance =
1617 [<TestCase( " DWAYNE" , " DUANE" , ExpectedResult = " 0.840" ) >]
1718 [<TestCase( " DIXON" , " DICKSONX" , ExpectedResult = " 0.813" ) >]
1819 let JaroWinklerTest ( str1 : string , str2 : string ) : string =
19- String.Format( " {0:0.000}" , JaroWinklerDistance str1 str2)
20+ String.Format( CultureInfo.InvariantCulture , " {0:0.000}" , JaroWinklerDistance str1 str2)
2021
2122 [<Test>]
2223 [<TestCase( " RICK" , " RICK" , ExpectedResult = 0 ) >]
Original file line number Diff line number Diff line change @@ -177,7 +177,6 @@ type AsyncType() =
177177 match a.InnerException with
178178 | :? TaskCanceledException as t -> ()
179179 | _ -> reraise()
180- System.Diagnostics.Debugger.Break() |> ignore
181180 Assert.IsTrue ( t.IsCompleted, " Task is not completed" )
182181
183182 [<Test>]
@@ -408,4 +407,4 @@ type AsyncType() =
408407 cts.Cancel()
409408 ewh.WaitOne( 10000 ) |> ignore
410409
411- #endif
410+ #endif
You can’t perform that action at this time.
0 commit comments