total rewrite to interface handling; not complete but it compiles
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user