chore: remove obsolete exemption of os.PathError in test case

Signed-off-by: Adam Gardner <adam.gardner@magicmemories.com>
This commit is contained in:
Adam Gardner 2022-07-10 09:15:18 -10:00
parent de6a9aeebf
commit a93661d382
1 changed files with 1 additions and 4 deletions

View File

@ -416,10 +416,7 @@ exec: helm --kube-context dev secrets view %s/secretName.yaml.gotmpl
Decrypted %s/secretName.yaml.gotmpl into %s
`, cwd, cwd, cwd, cwd, tmpFilePath)
if err != nil {
if _, ok := err.(*os.PathError); ok {
} else {
t.Errorf("Error: %v", err)
}
t.Errorf("Error: %v", err)
}
if d := cmp.Diff(expected, buffer.String()); d != "" {
t.Errorf("helmexec.DecryptSecret(): want (-), got (+):\n%s", d)