1
0
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:
源文雨
2025-10-27 22:55:08 +08:00
parent 1d07d1e19e
commit 9366889d3a

View File

@@ -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)
} }