diff options
author | 2020-09-01 15:10:45 +0800 | |
---|---|---|
committer | 2020-09-01 09:10:45 +0200 | |
commit | e233f59ee8fa3ea7e3a965ba66241dd65465926a (patch) | |
tree | 72d2e9b7f6dde9c6fee4a2659656233f9af984a3 /plugin/test/helpers.go | |
parent | 9e4a177d9f422583e68ade2404e598827b091263 (diff) | |
download | coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.gz coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.tar.zst coredns-e233f59ee8fa3ea7e3a965ba66241dd65465926a.zip |
Fix some typos in comments. (#4100)
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
Diffstat (limited to 'plugin/test/helpers.go')
-rw-r--r-- | plugin/test/helpers.go | 2 |
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]) |