aboutsummaryrefslogtreecommitdiff
path: root/plugin/test/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/test/helpers.go')
-rw-r--r--plugin/test/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/test/helpers.go b/plugin/test/helpers.go
index eff5ed550..21fb277c0 100644
--- a/plugin/test/helpers.go
+++ b/plugin/test/helpers.go
@@ -112,7 +112,7 @@ func OPT(bufsize int, do bool) *dns.OPT {
return o
}
-// Header test if the header in resp matches the header as defined in tc.
+// Header tests if the header in resp matches the header as defined in tc.
func Header(tc Case, resp *dns.Msg) error {
if resp.Rcode != tc.Rcode {
return fmt.Errorf("rcode is %q, expected %q", dns.RcodeToString[resp.Rcode], dns.RcodeToString[tc.Rcode])