mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
Use Gorilla middleware (refactoring)
This commit is contained in:
parent
322b265d7a
commit
6b360d08c1
25 changed files with 1254 additions and 331 deletions
2
vendor/github.com/gorilla/mux/old_test.go
generated
vendored
2
vendor/github.com/gorilla/mux/old_test.go
generated
vendored
|
@ -681,7 +681,7 @@ func TestNewRegexp(t *testing.T) {
|
|||
}
|
||||
|
||||
for pattern, paths := range tests {
|
||||
p, _ = newRouteRegexp(pattern, false, false, false, false, false)
|
||||
p, _ = newRouteRegexp(pattern, regexpTypePath, routeRegexpOptions{})
|
||||
for path, result := range paths {
|
||||
matches = p.regexp.FindStringSubmatch(path)
|
||||
if result == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue