Skip to content

Commit 1ba0efa

Browse files
committed
add more test cover
1 parent 1aad0a4 commit 1ba0efa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mux_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ func TestMux(t *testing.T) {
262262
mux := New()
263263
mux.Get("/api", func(w http.ResponseWriter, r *http.Request) {
264264
Params(r)
265+
Param(r, ":id")
265266
w.WriteHeader(200)
266267
w.Write([]byte("OK"))
267268
})

0 commit comments

Comments
 (0)