add err validation

pull/8589/head
Alonyb 2020-06-28 11:14:23 -05:00
parent 5c7dd4d941
commit c5021ead32
1 changed files with 4 additions and 1 deletions

View File

@ -83,6 +83,9 @@ func createTestConfig(t *testing.T) {
} }
t.Cleanup(func() { t.Cleanup(func() {
os.RemoveAll(td) err := os.RemoveAll(td)
if err != nil {
t.Errorf("failed to clean up temp folder %q", td)
}
}) })
} }