Skip to content

Commit 74d7778

Browse files
Remove dead code (struct{}) from HTTP adapter test (awslabs#84)
1 parent 44a7eef commit 74d7778

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

httpadapter/adapter_test.go

-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ import (
1313
. "github.com/onsi/gomega"
1414
)
1515

16-
type handler struct{}
17-
18-
func (h handler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
19-
w.Header().Add("unfortunately-required-header", "")
20-
fmt.Fprintf(w, "Go Lambda!!")
21-
}
22-
2316
var _ = Describe("HTTPAdapter tests", func() {
2417
Context("Simple ping request", func() {
2518
It("Proxies the event correctly", func() {

0 commit comments

Comments
 (0)