diff --git a/clientconn_test.go b/clientconn_test.go index a40527e9505..e7f110d4021 100644 --- a/clientconn_test.go +++ b/clientconn_test.go @@ -679,7 +679,7 @@ func (s) TestWithConnectParams(t *testing.T) { testBackoffStrategySet(t, expected, WithConnectParams(crt)) } -func testBackoffStrategySet(t *testing.T, expected *backoff.Strategy, opts ...DialOption) { +func testBackoffStrategySet(t *testing.T, expected backoff.Strategy, opts ...DialOption) { opts = append(opts, WithInsecure()) conn, err := Dial("passthrough:///foo:80", opts...) if err != nil {