summaryrefslogtreecommitdiffhomepage
path: root/tpl/inflect
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-11-28 21:16:01 +0100
committerBjørn Erik Pedersen <[email protected]>2017-11-28 21:16:01 +0100
commite7652180a13ce149041c48a1c2754c471df569c8 (patch)
tree76b7a840303841b2ff011104ed4eb51cf193a813 /tpl/inflect
parent7989210120dbde78da3741e2ef01b13f4aa78692 (diff)
downloadhugo-e7652180a13ce149041c48a1c2754c471df569c8.tar.gz
hugo-e7652180a13ce149041c48a1c2754c471df569c8.zip
vendor: Fix Humanize for multi-byte runes
Fixes #4133
Diffstat (limited to 'tpl/inflect')
-rw-r--r--tpl/inflect/inflect_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/inflect/inflect_test.go b/tpl/inflect/inflect_test.go
index a2146a838..a94a20218 100644
--- a/tpl/inflect/inflect_test.go
+++ b/tpl/inflect/inflect_test.go
@@ -19,6 +19,7 @@ func TestInflect(t *testing.T) {
expect interface{}
}{
{ns.Humanize, "MyCamel", "My camel"},
+ {ns.Humanize, "óbito", "Óbito"},
{ns.Humanize, "", ""},
{ns.Humanize, "103", "103rd"},
{ns.Humanize, "41", "41st"},