github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/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  }