- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestNameListAvoidDNS (1.49 sec)
-
src/net/dnsclient_unix_test.go
{"onion.", false}, } for _, tt := range tests { got := avoidDNS(tt.name) if got != tt.avoid { t.Errorf("avoidDNS(%q) = %v; want %v", tt.name, got, tt.avoid) } } } func TestNameListAvoidDNS(t *testing.T) { c := &dnsConfig{search: []string{"go.dev.", "onion."}} got := c.nameList("www") if !slices.Equal(got, []string{"www.", "www.go.dev."}) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0)