diff --git a/pkg/argocd/git_test.go b/pkg/argocd/git_test.go index cfd79148..7db7aad5 100644 --- a/pkg/argocd/git_test.go +++ b/pkg/argocd/git_test.go @@ -267,6 +267,18 @@ func Test_updateKustomizeFile(t *testing.T) { wantContent: `images: - name: foo digest: sha23456 +`, + filter: filter, + }, + { + name: "indented", + content: `images: + - name: foo + digest: sha12345 +`, + wantContent: `images: + - name: foo + digest: sha23456 `, filter: filter, },