1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 18:00:43 +00:00

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

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
}