github.com/chenbh/concourse/v6@v6.4.2/atc/wrappa/wrappa_suite_test.go (about)

     1  package wrappa_test
     2  
     3  import (
     4  	"net/http"
     5  
     6  	. "github.com/onsi/ginkgo"
     7  	. "github.com/onsi/gomega"
     8  
     9  	"testing"
    10  )
    11  
    12  func TestWrappa(t *testing.T) {
    13  	RegisterFailHandler(Fail)
    14  	RunSpecs(t, "Wrappa Suite")
    15  }
    16  
    17  type stupidHandler struct{}
    18  
    19  func (stupidHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
    20  }
    21  
    22  type descriptiveRoute struct {
    23  	route   string
    24  	handler http.Handler
    25  }