github.com/tetrafolium/tflint@v0.8.0/cmd/cmd_test.go (about) 1 package cmd 2 3 import ( 4 "io/ioutil" 5 "log" 6 "os" 7 "testing" 8 ) 9 10 func TestMain(m *testing.M) { 11 log.SetOutput(ioutil.Discard) 12 os.Exit(m.Run()) 13 }