mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
fix test with new init function signature
This commit is contained in:
parent
caaf7f74f5
commit
d16f00cc51
@ -213,7 +213,7 @@ func TestSerivceTestRoute(t *testing.T) {
|
|||||||
r := new(router.Router)
|
r := new(router.Router)
|
||||||
mockCtl := gomock.NewController(t)
|
mockCtl := gomock.NewController(t)
|
||||||
defer mockCtl.Finish()
|
defer mockCtl.Finish()
|
||||||
common.Must(r.Init(&router.Config{
|
common.Must(r.Init(context.TODO(), &router.Config{
|
||||||
Rule: []*router.RoutingRule{
|
Rule: []*router.RoutingRule{
|
||||||
{
|
{
|
||||||
InboundTag: []string{"in"},
|
InboundTag: []string{"in"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user