dnsfilter -- compare full hashes when parsing parental lookup result.

Closes #337.
This commit is contained in:
Eugene Bujak
2018-09-17 01:41:39 +03:00
parent 548010e002
commit dcbe3dd405
2 changed files with 6 additions and 0 deletions

View File

@@ -356,6 +356,8 @@ func TestParentalControl(t *testing.T) {
if stats.Parental.Requests != l {
t.Errorf("Parental lookup negative cache is not working")
}
d.checkMatchEmpty(t, "api.jquery.com")
}
func TestSafeSearch(t *testing.T) {