internal/command/receivepack/gitalycall_test.go
Function TestReceivePack
has 70 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestReceivePack(t *testing.T) {
for _, network := range []string{"unix", "tcp", "dns"} {
t.Run(fmt.Sprintf("via %s network", network), func(t *testing.T) {
gitalyAddress, testServer := testserver.StartGitalyServer(t, network)
t.Log(fmt.Sprintf("Server address: %s", gitalyAddress))