-
Type: Bug
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
None
This line (\BsonUnitTests\ObjectModel\BsonValueIConvertibleTests.cs 144):
Assert.AreEqual("1.5", Convert.ToString(value));
fails on my machine, because of the nl-NL culture I use.
If you change the line to:
Assert.AreEqual("1.5", Convert.ToString(value, CultureInfo.InvariantCulture)); Assert.AreEqual("1,5", Convert.ToString(value, CultureInfo.GetCultureInfo("nl-NL")));
you can see the fail.