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