aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/Plain.hs
AgeCommit message (Collapse)AuthorFilesLines
2014-08-03Correctly implement capitalisation.Artyom Kazak1-0/+21
Using `map toUpper` to capitalise text is wrong, as e.g. “Straße” should be converted to “STRASSE”, which is 1 character longer. This commit adds a `capitalize` function and replaces 2 identical implementations in different modules (`toCaps` and `capitalize`) with it.