mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 03:35:33 -04:00
test(dnssec): fix err in TestZoneSigningDouble (#7969)
This commit is contained in:
@@ -48,10 +48,10 @@ func TestZoneSigningDouble(t *testing.T) {
|
|||||||
state := request.Request{Req: m, Zone: "miek.nl."}
|
state := request.Request{Req: m, Zone: "miek.nl."}
|
||||||
m = d.Sign(state, time.Now().UTC(), server)
|
m = d.Sign(state, time.Now().UTC(), server)
|
||||||
if !section(m.Answer, 2) {
|
if !section(m.Answer, 2) {
|
||||||
t.Errorf("Answer section should have 1 RRSIG")
|
t.Errorf("Answer section should have 2 RRSIGs")
|
||||||
}
|
}
|
||||||
if !section(m.Ns, 2) {
|
if !section(m.Ns, 2) {
|
||||||
t.Errorf("Authority section should have 1 RRSIG")
|
t.Errorf("Authority section should have 2 RRSIGs")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user