[CSHARP-1943] Decimal tests are culture-dependent Created: 13/Mar/17 Updated: 13/Feb/19 Resolved: 13/Feb/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Testing |
| Affects Version/s: | 2.4.3 |
| Fix Version/s: | 2.8.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Aristarkh Zagorodnikov | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
Hi! The Decimal128Tests.Decimal uses current culture to parse the InlineData strings. This leads to test failures when decimal separator is not a period. The call to decimal.Parse should include the specific (invariant?) culture. |
| Comments |
| Comment by Githook User [ 13/Feb/19 ] |
|
Author: {'name': 'Aristarkh Zagorodnikov', 'email': 'xm@drive.net', 'username': 'onyxmaster'}Message: |
| Comment by Aristarkh Zagorodnikov [ 13/Mar/17 ] |