mirror of
https://github.com/kataras/iris.git
synced 2025-12-24 05:17:03 +00:00
minor
This commit is contained in:
@@ -203,6 +203,10 @@ func Do(w http.ResponseWriter, r *http.Request, handler iris.Handler, irisConfig
|
||||
app.ContextPool.Release(ctx)
|
||||
}
|
||||
|
||||
// IrisTesty is an interface which all testing package should implement.
|
||||
// The `httptest` standard package and `ginkgo` third-party module do implement this interface indeed.
|
||||
//
|
||||
// See the `New` package-level function for more.
|
||||
type IrisTesty interface {
|
||||
Cleanup(func())
|
||||
Error(args ...any)
|
||||
|
||||
Reference in New Issue
Block a user