Skip to content

Commit

Permalink
vendor: Fix Humanize for multi-byte runes
Browse files Browse the repository at this point in the history
Fixes #4133
  • Loading branch information
bep committed Nov 28, 2017
1 parent 7989210 commit e765218
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tpl/inflect/inflect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit e765218

Please sign in to comment.