From e7652180a13ce149041c48a1c2754c471df569c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 28 Nov 2017 21:16:01 +0100 Subject: [PATCH] vendor: Fix Humanize for multi-byte runes Fixes #4133 --- Gopkg.lock | 2 +- tpl/inflect/inflect_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gopkg.lock b/Gopkg.lock index 2062d40cc..4233d9278 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -147,7 +147,7 @@ branch = "master" name = "github.com/markbates/inflect" packages = ["."] - revision = "ea17041f342f81e8849284b87bc3db1a6fc596bb" + revision = "54ffb37507cd7d2ccd4768855e84f9ff6c4352b6" [[projects]] name = "github.com/miekg/mmark" 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"},