mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -13,9 +13,9 @@ func TestInflect(t *testing.T) {
|
||||
ns := New()
|
||||
|
||||
for _, test := range []struct {
|
||||
fn func(i interface{}) (string, error)
|
||||
in interface{}
|
||||
expect interface{}
|
||||
fn func(i any) (string, error)
|
||||
in any
|
||||
expect any
|
||||
}{
|
||||
{ns.Humanize, "MyCamel", "My camel"},
|
||||
{ns.Humanize, "óbito", "Óbito"},
|
||||
|
Reference in New Issue
Block a user