mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 20:07:04 +00:00
Add some _examples in the main repository too.
Former-commit-id: 98895c34115ec2076b431332f0ffe9645adf7590
This commit is contained in:
@@ -32,10 +32,6 @@ func TestRouterWrapperPolicySimple(t *testing.T) {
|
||||
// w2 -> w1 -> httprouter -> handler
|
||||
)
|
||||
|
||||
app.OnError(StatusNotFound, func(ctx *Context) {
|
||||
ctx.Writef("not found")
|
||||
})
|
||||
|
||||
app.Get("/", func(ctx *Context) {
|
||||
ctx.Write([]byte("OK"))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user