Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1943

Decimal tests are culture-dependent

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0
    • Affects Version/s: 2.4.3
    • Component/s: Testing
    • Fully Compatible

      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.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            onyxmaster Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: