fix broken test

This commit is contained in:
Darien Raymond 2018-11-19 21:58:03 +01:00
parent 8a82a3664c
commit 4b885f5775
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ import (
"v2ray.com/core/common/serial"
"v2ray.com/core/common/uuid"
"v2ray.com/core/features/dns"
"v2ray.com/core/features/dns/localdns"
_ "v2ray.com/core/main/distro/all"
"v2ray.com/core/proxy/dokodemo"
"v2ray.com/core/proxy/vmess"
@ -30,7 +31,7 @@ func TestV2RayDependency(t *testing.T) {
}
wait <- true
})
instance.AddFeature(dns.LocalClient{})
instance.AddFeature(localdns.New())
<-wait
}