Skip to content

Commit

Permalink
safesearch: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Apr 11, 2024
1 parent 1193c70 commit fb3efbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/filtering/safesearch/safesearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fb3efbb

Please sign in to comment.