Skip to content

Commit 698d32b

Browse files
committed
Run golangci-lint
1 parent 5b3de7e commit 698d32b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pkg/types/main_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ import "testing"
44

55
func TestMainInitNodeID(t *testing.T) {
66
mainInitNodeIDTestCases := []struct {
7-
name string
8-
nodeID string
7+
name string
8+
nodeID string
99
expectedErr string
1010
}{
1111
{
12-
name: "successful, no error",
13-
nodeID: "t.e-s_t@1:234",
12+
name: "successful, no error",
13+
nodeID: "t.e-s_t@1:234",
1414
expectedErr: "",
1515
},
1616
{
17-
name: "failed, charactered not allowed",
18-
nodeID: "test!#&123",
17+
name: "failed, charactered not allowed",
18+
nodeID: "test!#&123",
1919
expectedErr: "node id can only contain a-z, A-Z, 0-9 or special characters . - _ @ : but received: test!#&123",
2020
},
2121
}
@@ -33,4 +33,4 @@ func TestMainInitNodeID(t *testing.T) {
3333
}
3434
})
3535
}
36-
}
36+
}

0 commit comments

Comments
 (0)