slightly better test
This commit is contained in:
@@ -58,7 +58,7 @@ func TestGoConstName(t *testing.T) {
|
|||||||
{"AllCaps", "ASDF", "asdf"},
|
{"AllCaps", "ASDF", "asdf"},
|
||||||
{"AllCapsWithUnderscore", "ASDF_GH", "asdfGh"},
|
{"AllCapsWithUnderscore", "ASDF_GH", "asdfGh"},
|
||||||
{"JustUnderscore", "_", "_"},
|
{"JustUnderscore", "_", "_"},
|
||||||
{"LeadingUnderscore", "_ASDF", "_asdf"},
|
{"LeadingUnderscore", "_ASDF_GH", "_asdfGh"},
|
||||||
}
|
}
|
||||||
|
|
||||||
testStringFunc(t, goConstName, tests)
|
testStringFunc(t, goConstName, tests)
|
||||||
|
|||||||
Reference in New Issue
Block a user