test(dnssec): fix err in TestZoneSigningDouble (#7969)

This commit is contained in:
Ville Vesilehto
2026-03-27 05:33:55 +02:00
committed by GitHub
parent 1c15569168
commit 49b18b8af6

View File

@@ -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")
} }
} }