Skip to content
Myr

Merge pull request #557 from AlbinOS/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix typo on gin_test.go

authored by Javier Provecho Fernandez · committed by Javier Provecho Fernandez · parents 2afce84, 1f2e53d · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:gin_test.go+1 added-1 removed
242 unmodified lines
243244func assertRoutePresent(t *testing.T, gotRoutes RoutesInfo, wantRoute RouteInfo) {245 for _, gotRoute := range gotRoutes {246 if gotRoute.Path == wantRoute.Path && gotRoute.Method == wantRoute.Method {247 assert.Regexp(t, wantRoute.Path, gotRoute.Path)247 assert.Regexp(t, wantRoute.Handler, gotRoute.Handler)248 return249 }250 }251 t.Errorf("route not found: %v", wantRoute)
4 unmodified lines