github.com/wata727/tflint@v0.12.2-0.20191013070026-96dd0d36f385/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  }