Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
task: passing broken test now that the session saver middleware has b…
Browse files Browse the repository at this point in the history
…een removed
  • Loading branch information
paganotoni committed Feb 4, 2022
1 parent ecdd0cb commit 96d2173
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,15 @@ func Test_Router_Group_Middleware(t *testing.T) {

a := testApp()
a.Use(func(h Handler) Handler { return h })
r.Len(a.Middleware.stack, 5)
r.Len(a.Middleware.stack, 4)

g := a.Group("/api/v1")
r.Len(a.Middleware.stack, 5)
r.Len(g.Middleware.stack, 5)
r.Len(a.Middleware.stack, 4)
r.Len(g.Middleware.stack, 4)

g.Use(func(h Handler) Handler { return h })
r.Len(a.Middleware.stack, 5)
r.Len(g.Middleware.stack, 6)
r.Len(a.Middleware.stack, 4)
r.Len(g.Middleware.stack, 5)
}

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

0 comments on commit 96d2173

Please sign in to comment.