mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-20 00:07:06 -05:00
remove geosite test case due to inconsistant data. fixes #1557
This commit is contained in:
parent
37ab7d27ef
commit
81ce61c243
@ -48,7 +48,6 @@ func TestDnsConfigParsing(t *testing.T) {
|
|||||||
}],
|
}],
|
||||||
"hosts": {
|
"hosts": {
|
||||||
"v2ray.com": "127.0.0.1",
|
"v2ray.com": "127.0.0.1",
|
||||||
"geosite:tld-cn": "10.0.0.1",
|
|
||||||
"domain:example.com": "google.com"
|
"domain:example.com": "google.com"
|
||||||
},
|
},
|
||||||
"clientIp": "10.0.0.1"
|
"clientIp": "10.0.0.1"
|
||||||
@ -80,16 +79,6 @@ func TestDnsConfigParsing(t *testing.T) {
|
|||||||
Domain: "example.com",
|
Domain: "example.com",
|
||||||
ProxiedDomain: "google.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,
|
Type: dns.DomainMatchingType_Full,
|
||||||
Domain: "v2ray.com",
|
Domain: "v2ray.com",
|
||||||
|
Loading…
Reference in New Issue
Block a user