Browse Source

fix broken test

pull/1435/head
Darien Raymond 6 years ago
parent
commit
4b885f5775
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 3
      v2ray_test.go

3
v2ray_test.go

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

Loading…
Cancel
Save