Add test for Issue #1

This commit is contained in:
Ian Coleman 2017-06-15 12:32:52 +10:00
parent adbbf08fa6
commit 202477781d

View File

@ -13,6 +13,7 @@ func TestToCamel(t *testing.T) {
[]string{ "", "" }, []string{ "", "" },
[]string{ "many_many_words", "ManyManyWords" }, []string{ "many_many_words", "ManyManyWords" },
[]string{ "AnyKind of_string", "AnyKindOfString" }, []string{ "AnyKind of_string", "AnyKindOfString" },
[]string{ "odd-fix", "OddFix" },
} }
for _, i := range cases { for _, i := range cases {
in := i[0] in := i[0]