mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
Fix t.Error error message (#2551)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user