Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2afce84 + 1f2e53d commit a7d3be5Copy full SHA for a7d3be5
gin_test.go
@@ -244,7 +244,7 @@ func TestListOfRoutes(t *testing.T) {
244
func 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)
+ assert.Regexp(t, wantRoute.Handler, gotRoute.Handler)
248
return
249
}
250
0 commit comments