Fix t.Error error message (#2551)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
c2133ce6b1
commit
f69819387d
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue