diff --git a/aliases/alias_test.go b/aliases/alias_test.go index 53819770..d121f181 100644 --- a/aliases/alias_test.go +++ b/aliases/alias_test.go @@ -81,6 +81,14 @@ func Test_GenerateAliases(t *testing.T) { }, want: map[string][]string{"some_flag": slice("SomeFlag")}, }, + { + name: "screaming snake case to camel case", + flags: slice("SOME_FLAG"), + aliases: []o.Alias{ + alias(o.CamelCase), + }, + want: map[string][]string{"SOME_FLAG": slice("someFlag")}, + }, { name: "file exact pattern", flags: slice(testFlagKey),