mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
802348cedd
Former-commit-id: c55f1023f4d93f6712c7fa4d299bcf1098872ecf
15 lines
272 B
Go
15 lines
272 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/kataras/iris/v12/httptest"
|
|
)
|
|
|
|
func TestResetCompressionAndFireError(t *testing.T) { // #1569
|
|
app := newApp()
|
|
|
|
e := httptest.New(t, app)
|
|
e.GET("/").Expect().Status(httptest.StatusBadRequest).Body().Equal("custom error")
|
|
}
|