diff --git a/internal/conns/apiretry_test.go b/internal/conns/apiretry_test.go index 45cb2f24892..8b4d50e874c 100644 --- a/internal/conns/apiretry_test.go +++ b/internal/conns/apiretry_test.go @@ -87,7 +87,7 @@ func TestAddIsErrorRetryables(t *testing.T) { t.Run(testCase.name, func(t *testing.T) { t.Parallel() - got := AddIsErrorRetryables(retry.NewStandard(), retry.IsErrorRetryableFunc(testCase.f)).IsErrorRetryable(testCase.err) + got := AddIsErrorRetryables(retry.NewStandard(), testCase.f).IsErrorRetryable(testCase.err) if got, want := got, testCase.expected; got != want { t.Errorf("IsErrorRetryable(%q) = %v, want %v", testCase.err, got, want) }