Commit f6981938 authored by JoeWrightss's avatar JoeWrightss Committed by Miek Gieben

Fix t.Error error message (#2551)

Signed-off-by: default avatarzhoulin xie <zhoulin.xie@daocloud.io>
parent c2133ce6
...@@ -100,7 +100,7 @@ func TestGroup(t *testing.T) { ...@@ -100,7 +100,7 @@ func TestGroup(t *testing.T) {
}, },
) )
if len(sx) != 3 { if len(sx) != 3 {
t.Fatalf("Failure to group fith set: %v", sx) t.Fatalf("Failure to group fifth set: %v", sx)
} }
// One group. // One group.
......
...@@ -76,7 +76,7 @@ func TestNewTLSConfigFromArgs(t *testing.T) { ...@@ -76,7 +76,7 @@ func TestNewTLSConfigFromArgs(t *testing.T) {
t.Error("RootCAs should not be nil when three args passed") t.Error("RootCAs should not be nil when three args passed")
} }
if len(c.Certificates) != 1 { 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")
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment