[CSHARP-157] In nl-NL culture (and others), the BsonValueIConvertible tests fail Created: 26/Jan/11 Updated: 02/Apr/15 Resolved: 26/Jan/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Teun Duynstee | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This line (\BsonUnitTests\ObjectModel\BsonValueIConvertibleTests.cs 144):
fails on my machine, because of the nl-NL culture I use. If you change the line to:
you can see the fail. |
| Comments |
| Comment by Robert Stam [ 26/Jan/11 ] |
|
Use CultureInfo.InvariantCulture in the unit tests and make sure BsonValue methods pass the provider along. |