From b9033432dea8400dc576a699db76c24456673209 Mon Sep 17 00:00:00 2001 From: Jeroen Bobbeldijk Date: Sun, 17 Sep 2017 16:33:16 +0200 Subject: [PATCH] Close file after test --- sign/sign_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sign/sign_test.go b/sign/sign_test.go index 17b4cee..d7b7110 100644 --- a/sign/sign_test.go +++ b/sign/sign_test.go @@ -84,6 +84,8 @@ func TestReaderCanReadPDF(t *testing.T) { t.Errorf("%s: %s", f.Name(), err.Error()) return } + + input_file.Close() } }