1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-20 22:45:24 +00:00

fix test with new init function signature

This commit is contained in:
Shelikhoo 2021-04-12 01:17:49 +01:00
parent caaf7f74f5
commit d16f00cc51
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -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"},