mirror of https://github.com/v2ray/v2ray-core
fix test break
parent
e4554e5871
commit
ec54b04537
|
@ -21,6 +21,12 @@ func (d *TestDispatcher) Dispatch(ctx context.Context, dest net.Destination) (ra
|
||||||
return d.OnDispatch(ctx, dest)
|
return d.OnDispatch(ctx, dest)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (d *TestDispatcher) Start() error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (d *TestDispatcher) Close() {}
|
||||||
|
|
||||||
func TestSameDestinationDispatching(t *testing.T) {
|
func TestSameDestinationDispatching(t *testing.T) {
|
||||||
assert := With(t)
|
assert := With(t)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue