aboutsummaryrefslogtreecommitdiff
path: root/middleware/test/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/test/helpers.go')
-rw-r--r--middleware/test/helpers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/middleware/test/helpers.go b/middleware/test/helpers.go
index 8ed27261f..37d046cb3 100644
--- a/middleware/test/helpers.go
+++ b/middleware/test/helpers.go
@@ -149,12 +149,12 @@ func Section(t *testing.T, tc Case, sect Sect, rr []dns.RR) bool {
return false
}
if x.SignerName != section[i].(*dns.RRSIG).SignerName {
- t.Errorf("rr %d should have a SignerName of %d, but has %d", i, section[i].(*dns.RRSIG).SignerName, x.SignerName)
+ t.Errorf("rr %d should have a SignerName of %s, but has %s", i, section[i].(*dns.RRSIG).SignerName, x.SignerName)
return false
}
case *dns.NSEC:
if x.NextDomain != section[i].(*dns.NSEC).NextDomain {
- t.Errorf("rr %d should have a NextDomain of %d, but has %d", i, section[i].(*dns.NSEC).NextDomain, x.NextDomain)
+ t.Errorf("rr %d should have a NextDomain of %s, but has %s", i, section[i].(*dns.NSEC).NextDomain, x.NextDomain)
return false
}
// TypeBitMap