16 lines
198 B
Go
16 lines
198 B
Go
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())
|
|
}
|