mirror of
https://github.com/fumiama/terasu.git
synced 2026-06-30 09:40:24 +08:00
fix: make lint happy
This commit is contained in:
@@ -12,10 +12,10 @@ func TestClientGet(t *testing.T) {
|
|||||||
dns.IPv6Servers = *dns.NewEmptyList()
|
dns.IPv6Servers = *dns.NewEmptyList()
|
||||||
dns.IPv4Servers.Add(&dns.Config{
|
dns.IPv4Servers.Add(&dns.Config{
|
||||||
Fallbacks: map[string][]string{
|
Fallbacks: map[string][]string{
|
||||||
"huggingface.co": {"52.222.136.117"},
|
"www.whatsapp.com": {"157.240.253.60"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
resp, err := Get("https://huggingface.co/")
|
resp, err := Get("https://www.whatsapp.com/")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user