mirror of
https://github.com/coredns/coredns.git
synced 2025-10-01 18:41:01 +02:00
cleanup: error message typos in setup_test.go (#3065)
Signed-off-by: zhengguang zhu <zhengguang.zhu@daocloud.io>
This commit is contained in:
parent
c3516279ed
commit
7122fda09d
@ -105,12 +105,12 @@ func TestSetupEtcd(t *testing.T) {
|
||||
if !test.shouldErr {
|
||||
if test.username != "" {
|
||||
if etcd.Client.Username != test.username {
|
||||
t.Errorf("Etcd username not correctly set for input %s. Excpeted: '%+v', actual: '%+v'", test.input, test.username, etcd.Client.Username)
|
||||
t.Errorf("Etcd username not correctly set for input %s. Expected: '%+v', actual: '%+v'", test.input, test.username, etcd.Client.Username)
|
||||
}
|
||||
}
|
||||
if test.password != "" {
|
||||
if etcd.Client.Password != test.password {
|
||||
t.Errorf("Etcd password not correctly set for input %s. Excpeted: '%+v', actual: '%+v'", test.input, test.password, etcd.Client.Password)
|
||||
t.Errorf("Etcd password not correctly set for input %s. Expected: '%+v', actual: '%+v'", test.input, test.password, etcd.Client.Password)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user