diff options
author | 2019-02-11 15:23:05 +0800 | |
---|---|---|
committer | 2019-02-11 07:23:05 +0000 | |
commit | f69819387dcb69234adcda08b0af1af97b84f76e (patch) | |
tree | dd722dc67be8431bf3ec1d08d02cc133a05ebcf1 | |
parent | c2133ce6b14119748f5518514a3ef1141b3f9225 (diff) | |
download | coredns-f69819387dcb69234adcda08b0af1af97b84f76e.tar.gz coredns-f69819387dcb69234adcda08b0af1af97b84f76e.tar.zst coredns-f69819387dcb69234adcda08b0af1af97b84f76e.zip |
Fix t.Error error message (#2551)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
-rw-r--r-- | plugin/etcd/msg/service_test.go | 2 | ||||
-rw-r--r-- | plugin/pkg/tls/tls_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/etcd/msg/service_test.go b/plugin/etcd/msg/service_test.go index 2b38eeee1..24bea47f6 100644 --- a/plugin/etcd/msg/service_test.go +++ b/plugin/etcd/msg/service_test.go @@ -100,7 +100,7 @@ func TestGroup(t *testing.T) { }, ) if len(sx) != 3 { - t.Fatalf("Failure to group fith set: %v", sx) + t.Fatalf("Failure to group fifth set: %v", sx) } // One group. diff --git a/plugin/pkg/tls/tls_test.go b/plugin/pkg/tls/tls_test.go index 8c88bfcc4..b94efc28c 100644 --- a/plugin/pkg/tls/tls_test.go +++ b/plugin/pkg/tls/tls_test.go @@ -76,7 +76,7 @@ func TestNewTLSConfigFromArgs(t *testing.T) { t.Error("RootCAs should not be nil when three args passed") } if len(c.Certificates) != 1 { - t.Error("Certificateis should have a single entry when three args passed") + t.Error("Certificates should have a single entry when three args passed") } } |