total rewrite to interface handling; not complete but it compiles

This commit is contained in:
Ben Kraft
2020-07-16 13:28:43 -07:00
parent af4a765a32
commit cf7136ca65
33 changed files with 712 additions and 173 deletions
+3 -3
View File
@@ -55,10 +55,10 @@ func TestUpperFirst(t *testing.T) {
func TestGoConstName(t *testing.T) {
tests := []test{
{"Empty", "", ""},
{"AllCaps", "ASDF", "asdf"},
{"AllCapsWithUnderscore", "ASDF_GH", "asdfGh"},
{"AllCaps", "ASDF", "Asdf"},
{"AllCapsWithUnderscore", "ASDF_GH", "AsdfGh"},
{"JustUnderscore", "_", "_"},
{"LeadingUnderscore", "_ASDF_GH", "_asdfGh"},
{"LeadingUnderscore", "_ASDF_GH", "AsdfGh"},
}
testStringFunc(t, goConstName, tests)