mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:14:40 +03:00
simplify dns.MockResolver, changing MockReq to just a string representing the request
similar to Authentic/Inauthentic
This commit is contained in:
@ -117,8 +117,8 @@ func TestDB(t *testing.T) {
|
||||
"_mta-sts.other.example.com.": {"v=STSv1; id=1"},
|
||||
"_mta-sts.temperror.example.com.": {""},
|
||||
},
|
||||
Fail: map[dns.Mockreq]struct{}{
|
||||
{Type: "txt", Name: "_mta-sts.temperror.example.com."}: {},
|
||||
Fail: []string{
|
||||
"txt _mta-sts.temperror.example.com.",
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user