github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/command/common/common_suite_test.go (about)

     1  package common_test
     2  
     3  import (
     4  	. "github.com/onsi/ginkgo"
     5  	. "github.com/onsi/gomega"
     6  	log "github.com/sirupsen/logrus"
     7  
     8  	"testing"
     9  )
    10  
    11  func TestCommon(t *testing.T) {
    12  	RegisterFailHandler(Fail)
    13  	RunSpecs(t, "Common Commands Suite")
    14  }
    15  
    16  var _ = BeforeEach(func() {
    17  	log.SetLevel(log.PanicLevel)
    18  })