fix t.Errorf to t.Error in serveral _test.go

Signed-off-by: wefine <wang.xiaoren@zte.com.cn>
This commit is contained in:
wefine 2016-11-14 17:01:17 +08:00
parent 85e72de60c
commit 2eb3e2ce0f
1 changed files with 2 additions and 2 deletions

View File

@ -102,11 +102,11 @@ func TestNewEnvClient(t *testing.T) {
// pedantic checking that this is handled correctly
tr := apiclient.client.Transport.(*http.Transport)
if tr.TLSClientConfig == nil {
t.Errorf("no tls config found when DOCKER_TLS_VERIFY enabled")
t.Error("no tls config found when DOCKER_TLS_VERIFY enabled")
}
if tr.TLSClientConfig.InsecureSkipVerify {
t.Errorf("tls verification should be enabled")
t.Error("tls verification should be enabled")
}
}