Added CLI commands
This commit is contained in:
15
main_test.go
Normal file
15
main_test.go
Normal file
@ -0,0 +1,15 @@
|
||||
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())
|
||||
}
|
Reference in New Issue
Block a user