diff --git a/src/fsharp/FSharp.Compiler.Unittests/EditDistance.fs b/src/fsharp/FSharp.Compiler.Unittests/EditDistance.fs index 68b0c0595b0..5e8d7f7275c 100644 --- a/src/fsharp/FSharp.Compiler.Unittests/EditDistance.fs +++ b/src/fsharp/FSharp.Compiler.Unittests/EditDistance.fs @@ -2,6 +2,7 @@ namespace FSharp.Compiler.Unittests open System +open System.Globalization open System.Text open NUnit.Framework open Microsoft.FSharp.Compiler @@ -16,7 +17,7 @@ module EditDistance = [] [] let JaroWinklerTest (str1 : string, str2 : string) : string = - String.Format("{0:0.000}", JaroWinklerDistance str1 str2) + String.Format(CultureInfo.InvariantCulture, "{0:0.000}", JaroWinklerDistance str1 str2) [] [] diff --git a/src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/AsyncType.fs b/src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/AsyncType.fs index 7310ef88470..c1cfe673bfa 100644 --- a/src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/AsyncType.fs +++ b/src/fsharp/FSharp.Core.Unittests/FSharp.Core/Microsoft.FSharp.Control/AsyncType.fs @@ -177,7 +177,6 @@ type AsyncType() = match a.InnerException with | :? TaskCanceledException as t -> () | _ -> reraise() - System.Diagnostics.Debugger.Break() |> ignore Assert.IsTrue (t.IsCompleted, "Task is not completed") [] @@ -408,4 +407,4 @@ type AsyncType() = cts.Cancel() ewh.WaitOne(10000) |> ignore -#endif \ No newline at end of file +#endif