mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
👷 Add test cases for group router empty prefix path
This commit is contained in:
parent
d2561560a0
commit
7c88fa41e0
@ -808,6 +808,9 @@ func Test_App_Group(t *testing.T) {
|
||||
grp.All("/ALL", dummyHandler)
|
||||
testStatus200(t, app, "/test/ALL", MethodPost)
|
||||
|
||||
grp.Use(dummyHandler)
|
||||
testStatus200(t, app, "/test/oke", MethodGet)
|
||||
|
||||
grp.Use("/USE", dummyHandler)
|
||||
testStatus200(t, app, "/test/USE/oke", MethodGet)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user