Skip to content

Commit d0b3f61

Browse files
onyxmasterrstam
authored andcommitted
CSHARP-1943: Fixed Decimal128 tests that are culture dependent.`
1 parent 7c9596b commit d0b3f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Bson.Tests/ObjectModel/Decimal128Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void Default_value()
4646
[InlineData("-79228162514264337593543950335", "-79228162514264337593543950335")]
4747
public void Decimal(string valueString, string s)
4848
{
49-
var value = decimal.Parse(valueString);
49+
var value = decimal.Parse(valueString, CultureInfo.InvariantCulture);
5050
var subject = new Decimal128(value);
5151

5252
subject.ToString().Should().Be(s);

0 commit comments

Comments
 (0)