percolate / caffeine

Speed up your Android development
BSD 3-Clause "New" or "Revised" License
414 stars 39 forks source link

Minor locale-related issues with CountUtil test cases #2

Open MrManny opened 10 years ago

MrManny commented 10 years ago

This is a minor issue, but CountUtil test cases will fail on systems with a locale that uses different punctuation for numbers. For instance, any German locale renders numbers like this: 123.456.789,10. This is different from the English locale (123,456,789.10).

Thus, testGetFormattedCount* test cases will fail with error messages such as junit.framework.ComparisonFailure: expected:<1[.]2k> but was:<1[,]2k>.