Skip to content

Commit

Permalink
unit test unstructured_helper.go 5
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Garo <44888596+garomonegro@users.noreply.github.com>
  • Loading branch information
garomonegro committed Jun 17, 2023
1 parent 5ee2ec8 commit 3917695
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*.test
examples/templating/generic/files/generated_*
pkg/generic/test-fixtures/generated_*
pkg/kube/unstructured/test-fixtures/generated_*
pkg/kube/unstructured/test-fixtures/templates/generated_*
kubedog
coverage.txt

Expand Down
1 change: 0 additions & 1 deletion pkg/kube/unstructured/unstructured_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,6 @@ func TestGetResource(t *testing.T) {
}
templateMap := templateArgsToMap(t, templateArgs...)
generatedPath := generateFileFromTemplate(t, templatedPath, templateMap)
defer os.Remove(generatedPath)
generatedResource := getResourceFromYaml(t, generatedPath)
analysisTemplatePath := getFilePath("analysis-template.yaml")
analysisTemplateResource := getResourceFromYaml(t, analysisTemplatePath)
Expand Down

0 comments on commit 3917695

Please sign in to comment.