mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
cleanup tempfiles for runfn_test
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
This commit is contained in:
@@ -1110,6 +1110,7 @@ func TestCmd_Execute_setInput(t *testing.T) {
|
||||
}
|
||||
|
||||
outDir, err := ioutil.TempDir("", "kustomize-test")
|
||||
defer os.RemoveAll(outDir)
|
||||
if !assert.NoError(t, err) {
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user