summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/edns_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/dns/edns_test.go')
-rw-r--r--vendor/github.com/miekg/dns/edns_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/miekg/dns/edns_test.go b/vendor/github.com/miekg/dns/edns_test.go
index c290b0c8a..f7cf15754 100644
--- a/vendor/github.com/miekg/dns/edns_test.go
+++ b/vendor/github.com/miekg/dns/edns_test.go
@@ -63,6 +63,6 @@ func TestOPTTtl(t *testing.T) {
e.SetExtendedRcode(42)
if e.ExtendedRcode() != 42 {
- t.Errorf("set 42, expected %d, got %d", 42-15, e.ExtendedRcode())
+ t.Errorf("set 42, expected %d, got %d", 42, e.ExtendedRcode())
}
}