Explorar el Código

fix test break

Darien Raymond hace 7 años
padre
commit
ec54b04537
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      transport/internet/udp/dispatcher_test.go

+ 6 - 0
transport/internet/udp/dispatcher_test.go

@@ -21,6 +21,12 @@ func (d *TestDispatcher) Dispatch(ctx context.Context, dest net.Destination) (ra
 	return d.OnDispatch(ctx, dest)
 }
 
+func (d *TestDispatcher) Start() error {
+	return nil
+}
+
+func (d *TestDispatcher) Close() {}
+
 func TestSameDestinationDispatching(t *testing.T) {
 	assert := With(t)