mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 14:57:05 +00:00
Add the new Go 1.8 Shutdown | Remove DisableBanner, is controlled by LoggerPolicy now.
Former-commit-id: 6ef71a4b9f5a79160a42d1111dd924e244ce1f4e
This commit is contained in:
@@ -132,7 +132,7 @@ func TestResponseRecorderStatusCodeContentTypeBody(t *testing.T) {
|
||||
}
|
||||
|
||||
func ExampleResponseWriter_WriteHeader() {
|
||||
app := iris.New(iris.OptionDisableBanner(true))
|
||||
app := iris.New()
|
||||
app.Adapt(newTestNativeRouter())
|
||||
|
||||
expectedOutput := "Hey"
|
||||
|
||||
Reference in New Issue
Block a user