diff --git a/internal/proxy/proxy_test.go b/internal/proxy/proxy_test.go index 6f1872325..2f8d1d8fd 100644 --- a/internal/proxy/proxy_test.go +++ b/internal/proxy/proxy_test.go @@ -372,7 +372,7 @@ func TestClientLimitsMaxConnections(t *testing.T) { } callbackGot := 0 connRefuseNotify := func() { - callbackGot += 1 + callbackGot++ } c, err := proxy.NewClient(context.Background(), d, testLogger, in, connRefuseNotify) if err != nil {