Skip to content

Commit 92bfb8f

Browse files
authored
Merge pull request #2805 from MuMech/fix/charbuffer-test-culture
CharBufferTests: run the ToSI comparison in the invariant culture
2 parents 1488c2f + 2af4bd0 commit 92bfb8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎MechJebLibTest/KodeKitTests/CharBufferTests.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public void FixedPointIsToStringFInTheInvariantCulture(double v, int decimals)
3030
}
3131

3232
[Theory]
33+
[InvariantCulture] // ToSI formats in the current culture, CharBuffer always in the invariant one
3334
[InlineData(0.0)]
3435
[InlineData(1.0)]
3536
[InlineData(999.96)]

0 commit comments

Comments
 (0)