Skip to content

Commit e765218

Browse files
committed
vendor: Fix Humanize for multi-byte runes
Fixes #4133
1 parent 7989210 commit e765218

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎Gopkg.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tpl/inflect/inflect_test.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ func TestInflect(t *testing.T) {
1919
expect interface{}
2020
}{
2121
{ns.Humanize, "MyCamel", "My camel"},
22+
{ns.Humanize, "óbito", "Óbito"},
2223
{ns.Humanize, "", ""},
2324
{ns.Humanize, "103", "103rd"},
2425
{ns.Humanize, "41", "41st"},

0 commit comments

Comments
 (0)