omar / ByteSize

ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented. ByteSize is to bytes what System.TimeSpan is to time.
MIT License
558 stars 50 forks source link

Fix ReturnsDefaultRepresenationCurrentCulture test for all cultures #49

Closed 0xced closed 3 years ago

0xced commented 3 years ago

Use NumberDecimalSeparator instead of CurrencyDecimalSeparator. In some cultures it may be different. For example, in the fr-CH culture, the currency separator is a dot and the number separator is a comma.

jetersen commented 3 years ago

@0xced my bad, I chose the wrong static reference when refactoring the test.