From 41f449d6c9317cea33ad6f79c5ee86591c38e871 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Mon, 17 Sep 2018 17:35:57 +0200 Subject: [PATCH] Remove debug log from unittests --- internal/database/actions_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/database/actions_test.go b/internal/database/actions_test.go index e8d0056..6068ddf 100644 --- a/internal/database/actions_test.go +++ b/internal/database/actions_test.go @@ -3,7 +3,6 @@ package database import ( "database/sql" "encoding/json" - "fmt" "io/ioutil" "os" "testing" @@ -90,8 +89,7 @@ func TestDeleteResult(t *testing.T) { if err != nil { t.Fatal(err) } - fmt.Printf("%s", tmpfile.Name()) - //defer os.Remove(tmpfile.Name()) + defer os.Remove(tmpfile.Name()) tmpdir, err := ioutil.TempDir("", "oonitest") if err != nil {