From 4b885f577579f797744f52a2bfebe2c053a80e5a Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Mon, 19 Nov 2018 21:58:03 +0100 Subject: [PATCH] fix broken test --- v2ray_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2ray_test.go b/v2ray_test.go index ef6577c59..7cd4aadf8 100644 --- a/v2ray_test.go +++ b/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 }