safesearch: imp code

This commit is contained in:
Dimitry Kolyshev 2024-04-11 13:15:37 +02:00
parent 1193c704f4
commit fb3efbb053

View File

@ -62,21 +62,21 @@ func TestDefault_CheckHost_yandex(t *testing.T) {
}
testCases := []struct {
want netip.Addr
name string
qt uint16
want netip.Addr
}{{
want: yandexIP,
name: "a",
qt: dns.TypeA,
want: yandexIP,
}, {
want: netip.Addr{},
name: "aaaa",
qt: dns.TypeAAAA,
want: netip.Addr{},
}, {
want: netip.Addr{},
name: "https",
qt: dns.TypeHTTPS,
want: netip.Addr{},
}}
for _, tc := range testCases {