summaryrefslogtreecommitdiff
path: root/pkg/argocd/git_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/argocd/git_test.go')
-rw-r--r--pkg/argocd/git_test.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/argocd/git_test.go b/pkg/argocd/git_test.go
index cfd7914..7db7aad 100644
--- a/pkg/argocd/git_test.go
+++ b/pkg/argocd/git_test.go
@@ -271,6 +271,18 @@ func Test_updateKustomizeFile(t *testing.T) {
filter: filter,
},
{
+ name: "indented",
+ content: `images:
+ - name: foo
+ digest: sha12345
+`,
+ wantContent: `images:
+ - name: foo
+ digest: sha23456
+`,
+ filter: filter,
+ },
+ {
name: "no-change",
content: `images:
- name: foo