fix TestHelmInitByAliyunStableRepo

This commit is contained in:
GEcko
2018-12-04 14:40:56 +08:00
parent 504963d001
commit 7f837c8af8
+1 -1
View File
@@ -534,8 +534,8 @@ func TestHelmInitByAliyunStableRepo(t *testing.T) {
expected := "init "
if plugin.Config.StableRepoURL != "" {
expected = expected + "--stable-repo-url"
expected = expected + " " + plugin.Config.StableRepoURL
}
if expected != result {
t.Error("Helm cannot init for stable repository")
}