@@ -95,7 +95,7 @@ func (s) TestNew(t *testing.T) {
9595
9696 for _ , test := range tests {
9797 t .Run (test .name , func (t * testing.T ) {
98- c , err := New (test .config , noopUpdateHandler , nil , nil ) // Only testing the config, other inputs are left as nil.
98+ c , err := New (test .config , noopUpdateHandler , nil , nil , nil ) // Only testing the config, other inputs are left as nil.
9999 defer func () {
100100 if c != nil {
101101 c .Close ()
@@ -123,7 +123,7 @@ func (s) TestNewWithGRPCDial(t *testing.T) {
123123
124124 // Set the dialer and make sure it is called.
125125 SetGRPCDial (customDialer )
126- c , err := New (config , noopUpdateHandler , nil , nil )
126+ c , err := New (config , noopUpdateHandler , nil , nil , nil )
127127 if err != nil {
128128 t .Fatalf ("New(%+v) = %v, want no error" , config , err )
129129 }
@@ -138,7 +138,7 @@ func (s) TestNewWithGRPCDial(t *testing.T) {
138138
139139 // Reset the dialer and make sure it is not called.
140140 SetGRPCDial (grpc .Dial )
141- c , err = New (config , noopUpdateHandler , nil , nil )
141+ c , err = New (config , noopUpdateHandler , nil , nil , nil )
142142 defer func () {
143143 if c != nil {
144144 c .Close ()
0 commit comments