diff --git a/pkg/helmexec/exec_test.go b/pkg/helmexec/exec_test.go index 13b71107..86af61ad 100644 --- a/pkg/helmexec/exec_test.go +++ b/pkg/helmexec/exec_test.go @@ -3,7 +3,6 @@ package helmexec import ( "bytes" "fmt" - "github.com/google/go-cmp/cmp" "io" "os" "path" @@ -11,6 +10,8 @@ import ( "reflect" "testing" + "github.com/google/go-cmp/cmp" + "github.com/Masterminds/semver/v3" "go.uber.org/zap" ) @@ -282,8 +283,7 @@ Decrypting secret %s/secretName exec: helm --kube-context dev secrets dec %s/secretName Preparing to decrypt secret %s/secretName Found secret in cache %s/secretName -Decrypted %s/secretName into path/to/temp/file -`, cwd, cwd, cwd, cwd, cwd, cwd) +`, cwd, cwd, cwd, cwd, cwd) if d := cmp.Diff(expected, buffer.String()); d != "" { t.Errorf("helmexec.DecryptSecret(): want (-), got (+):\n%s", d) }