Skip to content

Commit

Permalink
Merge pull request #557 from AlbinOS/patch-1
Browse files Browse the repository at this point in the history
Fix typo on gin_test.go
  • Loading branch information
javierprovecho committed Mar 14, 2016
2 parents 2afce84 + 1f2e53d commit a7d3be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func TestListOfRoutes(t *testing.T) {
func assertRoutePresent(t *testing.T, gotRoutes RoutesInfo, wantRoute RouteInfo) {
for _, gotRoute := range gotRoutes {
if gotRoute.Path == wantRoute.Path && gotRoute.Method == wantRoute.Method {
assert.Regexp(t, wantRoute.Path, gotRoute.Path)
assert.Regexp(t, wantRoute.Handler, gotRoute.Handler)
return
}
}
Expand Down

0 comments on commit a7d3be5

Please sign in to comment.