From c277c6de54177beb7f9f7221d3c82840faa0d123 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 20 Dec 2017 00:00:36 +0100 Subject: [PATCH] fix test --- app/router/router_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/router/router_test.go b/app/router/router_test.go index 12350fb94..855272cb7 100644 --- a/app/router/router_test.go +++ b/app/router/router_test.go @@ -7,8 +7,6 @@ import ( "v2ray.com/core/app" "v2ray.com/core/app/dispatcher" _ "v2ray.com/core/app/dispatcher/impl" - "v2ray.com/core/app/dns" - _ "v2ray.com/core/app/dns/server" "v2ray.com/core/app/proxyman" _ "v2ray.com/core/app/proxyman/outbound" . "v2ray.com/core/app/router" @@ -33,7 +31,6 @@ func TestSimpleRouter(t *testing.T) { space := app.NewSpace() ctx := app.ContextWithSpace(context.Background(), space) - assert(app.AddApplicationToSpace(ctx, new(dns.Config)), IsNil) assert(app.AddApplicationToSpace(ctx, new(dispatcher.Config)), IsNil) assert(app.AddApplicationToSpace(ctx, new(proxyman.OutboundConfig)), IsNil) assert(app.AddApplicationToSpace(ctx, config), IsNil)