Add test cases for digit grouping (commafy) in Polish
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 10 Oct 2017 20:36:31 +0000 (22:36 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 10 Oct 2017 20:52:11 +0000 (22:52 +0200)
commit3f62813c51e7c2547616a8fa8d874c678aa20b9c
treecca39f55c5b9010eb3050971f7a23a594ffcf1fd
parentf027f4a9f722827bd36c27eb2f107028a1ca5e68
Add test cases for digit grouping (commafy) in Polish

According to the typographical convention, a thousands separator
should not be inserted in numbers that are four digits long (between
1000 and 9999), unlike in English where it's usually acceptable.
This logic is currently implemented in LanguagePl::commafy().

Bug: T177846
Change-Id: I6dbd8febcf59000067cdd7d3c11111f2f77f4e66
tests/phpunit/languages/classes/LanguagePlTest.php