From cfa37871ab00c3cf5f94b9e17ff94c1f0d894ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=E4=BA=93?= <1093850932@qq.com> Date: Tue, 7 May 2019 00:45:55 +0800 Subject: [PATCH] fix: fix a typo in azure/aci_test (#589) Signed-off-by: KevinBetterQ <1093850932@qq.com> --- providers/azure/aci_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/azure/aci_test.go b/providers/azure/aci_test.go index bef89de4f..ab36a1640 100644 --- a/providers/azure/aci_test.go +++ b/providers/azure/aci_test.go @@ -88,12 +88,12 @@ func TestMakeRegistryCredential(t *testing.T) { cred, err := makeRegistryCredential(server, tc.authConfig) if tc.shouldFail { - assert.Check(t, err != nil, "convertion should fail") + assert.Check(t, err != nil, "conversion should fail") assert.Check(t, strings.Contains(err.Error(), tc.failMessage), "failed message is not expected") return } - assert.Check(t, err, "convertion should not fail") + assert.Check(t, err, "conversion should not fail") assert.Check(t, cred != nil, "credential should not be nil") assert.Check(t, is.Equal(server, cred.Server), "server doesn't match") assert.Check(t, is.Equal(username, cred.Username), "username doesn't match")