Fix t.Error error message (#2551)

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
JoeWrightss 2019-02-11 15:23:05 +08:00 committed by Miek Gieben
parent c2133ce6b1
commit f69819387d
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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")
} }
} }