Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnp committed Jun 9, 2021
1 parent 9232bd4 commit 603f834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions router_test.go
Expand Up @@ -81,13 +81,13 @@ func TestRouterAPI(t *testing.T) {
httpHandler := handlerStruct{&handler}

router := New()

router.GET("/GET",
func(w http.ResponseWriter, r *http.Request, _ Params) {
get = true
},func(w http.ResponseWriter, r *http.Request, _ Params) {
get = true
},
},nil,
)
router.HEAD("/GET", func(w http.ResponseWriter, r *http.Request, _ Params) {
head = true
Expand Down

0 comments on commit 603f834

Please sign in to comment.