mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
replace ioutil with io package and other minor improvements
This commit is contained in:
@@ -98,9 +98,12 @@ func DefaultConfiguration() *Configuration {
|
||||
|
||||
// New Prepares and returns a new test framework based on the "app".
|
||||
// Usage:
|
||||
// httptest.New(t, app)
|
||||
//
|
||||
// httptest.New(t, app)
|
||||
//
|
||||
// With options:
|
||||
// httptest.New(t, app, httptest.URL(...), httptest.Debug(true), httptest.LogLevel("debug"), httptest.Strict(true))
|
||||
//
|
||||
// httptest.New(t, app, httptest.URL(...), httptest.Debug(true), httptest.LogLevel("debug"), httptest.Strict(true))
|
||||
//
|
||||
// Example at: https://github.com/kataras/iris/tree/master/_examples/testing/httptest.
|
||||
func New(t *testing.T, app *iris.Application, setters ...OptionSetter) *httpexpect.Expect {
|
||||
|
||||
Reference in New Issue
Block a user