From 5e57eceb50dce34c75c1a04bc05f9da3a825f1ee Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 27 Jun 2022 00:13:08 -0300 Subject: [PATCH] fix(ci): less logs in the test output (#3207) Signed-off-by: Carlos A Becker --- internal/testlib/log.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 internal/testlib/log.go diff --git a/internal/testlib/log.go b/internal/testlib/log.go new file mode 100644 index 000000000..17c533a23 --- /dev/null +++ b/internal/testlib/log.go @@ -0,0 +1,11 @@ +package testlib + +import ( + "io" + + "github.com/caarlos0/log" +) + +func init() { + log.Log = log.New(io.Discard) +}