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
1 changed files with 2 additions and 2 deletions
|
@ -105,12 +105,12 @@ func TestSetupEtcd(t *testing.T) {
|
||||||
if !test.shouldErr {
|
if !test.shouldErr {
|
||||||
if test.username != "" {
|
if test.username != "" {
|
||||||
if etcd.Client.Username != 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 test.password != "" {
|
||||||
if etcd.Client.Password != 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…
Add table
Reference in a new issue