mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 09:54:40 +03:00
simplify dns.MockResolver, changing MockReq to just a string representing the request
similar to Authentic/Inauthentic
This commit is contained in:
@ -28,8 +28,8 @@ func TestUpdates(t *testing.T) {
|
||||
"_updates.temperror.example.": {"v=UPDATES0; l=v0.0.1"},
|
||||
"_updates.unknown.example.": {"v=UPDATES0; l=v0.0.1; unknown=ok"},
|
||||
},
|
||||
Fail: map[dns.Mockreq]struct{}{
|
||||
{Type: "txt", Name: "_updates.temperror.example."}: {},
|
||||
Fail: []string{
|
||||
"txt _updates.temperror.example.",
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user