apply comments

This commit is contained in:
gmarek
2015-03-02 14:41:13 +01:00
parent 726a5af075
commit bb8a4f5ed3
6 changed files with 32 additions and 24 deletions

View File

@@ -169,7 +169,6 @@ func TestIsQualifiedName(t *testing.T) {
"1234/5678",
"1.2.3.4/5678",
"UppercaseIsOK123",
"-canstartwithadash",
}
for i := range successCases {
if !IsQualifiedName(successCases[i]) {
@@ -182,6 +181,7 @@ func TestIsQualifiedName(t *testing.T) {
"cantendwithadash-",
"only/one/slash",
strings.Repeat("a", 254),
"-cantstartwithadash",
}
for i := range errorCases {
if IsQualifiedName(errorCases[i]) {