From f69819387dcb69234adcda08b0af1af97b84f76e Mon Sep 17 00:00:00 2001 From: JoeWrightss <42261994+JoeWrightss@users.noreply.github.com> Date: Mon, 11 Feb 2019 15:23:05 +0800 Subject: Fix t.Error error message (#2551) Signed-off-by: zhoulin xie --- plugin/etcd/msg/service_test.go | 2 +- 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") } } -- cgit v1.2.3