From 81ce61c24398127542d7c5ea3f23c2a89e02460a Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 17 Feb 2019 16:18:35 +0100 Subject: [PATCH] remove geosite test case due to inconsistant data. fixes #1557 --- infra/conf/dns_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/infra/conf/dns_test.go b/infra/conf/dns_test.go index e99fbae15..df04a57d2 100644 --- a/infra/conf/dns_test.go +++ b/infra/conf/dns_test.go @@ -48,7 +48,6 @@ func TestDnsConfigParsing(t *testing.T) { }], "hosts": { "v2ray.com": "127.0.0.1", - "geosite:tld-cn": "10.0.0.1", "domain:example.com": "google.com" }, "clientIp": "10.0.0.1" @@ -80,16 +79,6 @@ func TestDnsConfigParsing(t *testing.T) { Domain: "example.com", ProxiedDomain: "google.com", }, - { - Type: dns.DomainMatchingType_Subdomain, - Domain: "cn", - Ip: [][]byte{{10, 0, 0, 1}}, - }, - { - Type: dns.DomainMatchingType_Subdomain, - Domain: "xn--fiqs8s", - Ip: [][]byte{{10, 0, 0, 1}}, - }, { Type: dns.DomainMatchingType_Full, Domain: "v2ray.com",