mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -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)
|
||||
mockCtl := gomock.NewController(t)
|
||||
defer mockCtl.Finish()
|
||||
common.Must(r.Init(&router.Config{
|
||||
common.Must(r.Init(context.TODO(), &router.Config{
|
||||
Rule: []*router.RoutingRule{
|
||||
{
|
||||
InboundTag: []string{"in"},
|
||||
|
Loading…
Reference in New Issue
Block a user