mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 13:35:59 +00:00
Add error message when reverse routing using gorillamux happens before boot
Former-commit-id: 96dd812a16338824474ba1be0db18c486b2ebc0d
This commit is contained in:
@@ -17,6 +17,6 @@ func TestRouteURLPath(t *testing.T) {
|
||||
expected := "/profile/42/iris-go/something"
|
||||
|
||||
if got := app.Path("profile", "user_id", 42, "ref", "iris-go", "anything", "something"); got != expected {
|
||||
t.Fatalf("httprouter's reverse routing 'URLPath' error: expected %s but got %s", expected, got)
|
||||
t.Fatalf("gorillamux' reverse routing 'URLPath' error: expected %s but got %s", expected, got)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user