diff options
author | 2019-07-29 22:58:45 +0800 | |
---|---|---|
committer | 2019-07-29 07:58:45 -0700 | |
commit | 7122fda09d508ac4a0962a97667c3ddef6892e6c (patch) | |
tree | 8ac7ab3604088a060156e2fc9badbdb2b2f6f84c | |
parent | c3516279ed95b77a526a4268ea0e8c08c914bc2f (diff) | |
download | coredns-7122fda09d508ac4a0962a97667c3ddef6892e6c.tar.gz coredns-7122fda09d508ac4a0962a97667c3ddef6892e6c.tar.zst coredns-7122fda09d508ac4a0962a97667c3ddef6892e6c.zip |
cleanup: error message typos in setup_test.go (#3065)
Signed-off-by: zhengguang zhu <zhengguang.zhu@daocloud.io>
-rw-r--r-- | plugin/etcd/setup_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/etcd/setup_test.go b/plugin/etcd/setup_test.go index 20379628b..8a84d0fd1 100644 --- a/plugin/etcd/setup_test.go +++ b/plugin/etcd/setup_test.go @@ -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) } } } |