inflect_test.go (hugo-0.80.0) | : | inflect_test.go (hugo-0.81.0) | ||
---|---|---|---|---|
skipping to change at line 29 | skipping to change at line 29 | |||
}{ | }{ | |||
{ns.Humanize, "MyCamel", "My camel"}, | {ns.Humanize, "MyCamel", "My camel"}, | |||
{ns.Humanize, "óbito", "Óbito"}, | {ns.Humanize, "óbito", "Óbito"}, | |||
{ns.Humanize, "", ""}, | {ns.Humanize, "", ""}, | |||
{ns.Humanize, "103", "103rd"}, | {ns.Humanize, "103", "103rd"}, | |||
{ns.Humanize, "41", "41st"}, | {ns.Humanize, "41", "41st"}, | |||
{ns.Humanize, 103, "103rd"}, | {ns.Humanize, 103, "103rd"}, | |||
{ns.Humanize, int64(92), "92nd"}, | {ns.Humanize, int64(92), "92nd"}, | |||
{ns.Humanize, "5.5", "5.5"}, | {ns.Humanize, "5.5", "5.5"}, | |||
{ns.Humanize, t, false}, | {ns.Humanize, t, false}, | |||
{ns.Humanize, "this is a TEST", "This is a test"}, | ||||
{ns.Humanize, "my-first-Post", "My first post"}, | ||||
{ns.Pluralize, "cat", "cats"}, | {ns.Pluralize, "cat", "cats"}, | |||
{ns.Pluralize, "", ""}, | {ns.Pluralize, "", ""}, | |||
{ns.Pluralize, t, false}, | {ns.Pluralize, t, false}, | |||
{ns.Singularize, "cats", "cat"}, | {ns.Singularize, "cats", "cat"}, | |||
{ns.Singularize, "", ""}, | {ns.Singularize, "", ""}, | |||
{ns.Singularize, t, false}, | {ns.Singularize, t, false}, | |||
} { | } { | |||
result, err := test.fn(test.in) | result, err := test.fn(test.in) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |