Skip to content

Commit

Permalink
Remove debug print statement in sink_test.go
Browse files Browse the repository at this point in the history
Remove debug print statement in `sink_test.go`. Cleanup from PR
tektoncd#393.
  • Loading branch information
Brandon Walker authored and dibyom committed Jan 29, 2020
1 parent c07f57b commit f8a4c6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/sink/sink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,7 @@ func (f *nameInterceptor) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
// Write the name to the body
body := fmt.Sprintf(`{"name": "%s"}`, name)
fmt.Printf("~~~ body: %s\n", body)
w.Write([]byte(body))
_, _ = w.Write([]byte(body))
}

func TestHandleEventWithWebhookInterceptors(t *testing.T) {
Expand Down

0 comments on commit f8a4c6c

Please sign in to comment.