mirror of
https://github.com/kataras/iris.git
synced 2026-03-04 15:36:03 +00:00
Add a simple and pure .Regex middleware for routers that don't support regex route path validations out-of-the-box
Former-commit-id: 84cf1fb267e54543ad6d419b2ca39658b2773b58
This commit is contained in:
@@ -37,7 +37,7 @@ func TestCustomHandler(t *testing.T) {
|
||||
app.Handle("GET", "/custom_handler_1", &myTestCustomHandler{myData})
|
||||
app.Handle("GET", "/custom_handler_2", &myTestCustomHandler{myData})
|
||||
|
||||
e := httptest.New(app, t, httptest.Debug(true))
|
||||
e := httptest.New(app, t)
|
||||
// two times per testRoute
|
||||
param1 := "thisimyparam1"
|
||||
expectedData1 := myData
|
||||
|
||||
Reference in New Issue
Block a user