16 lines
198 B
Go
Raw Normal View History

2023-10-17 12:01:01 +00:00
package main_test
import (
"io"
"os"
"testing"
"git.akyoto.dev/cli/q/log"
)
func TestMain(m *testing.M) {
log.Info.SetOutput(io.Discard)
log.Error.SetOutput(io.Discard)
os.Exit(m.Run())
}