diff --git a/sign/sign_test.go b/sign/sign_test.go index 7f9b7ef..cd37b4b 100644 --- a/sign/sign_test.go +++ b/sign/sign_test.go @@ -184,6 +184,7 @@ func TestSignPDF(t *testing.T) { if err != nil { input_file.Close() + os.Remove(outputFile.Name()) t.Errorf("%s: %s", f.Name(), err.Error()) return }