From bd1ead99fd53ad8c3c016b59d67f5bf58ade5095 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 2 Jun 2026 19:40:55 +0200 Subject: Remove success logging in tests In case the test succeeds it is not required to log anything. This only adds noise to the output. --- testing.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'testing.go') diff --git a/testing.go b/testing.go index d4a8457..14da69f 100644 --- a/testing.go +++ b/testing.go @@ -18,10 +18,8 @@ func newSite(t *testing.T) string { t.Cleanup(func() { os.RemoveAll(site) - t.Logf("Removed test site '%s'.", site) }) - t.Logf("Created test site '%s'.", site) return site } @@ -37,10 +35,8 @@ func emptyDB(t *testing.T) (*sql.DB, string) { t.Cleanup(func() { db.Close() - t.Logf("Removed test database '%s'.", path) }) - t.Logf("Created test database '%s'.", path) return db, path } -- cgit v1.3.1