use a custom version of httpexpect which removes things that Iris or its users not use at all in order to reduce the download filesize

Former-commit-id: 993107d0fa40b5e423962b58aa924b712644f18c
This commit is contained in:
Gerasimos (Makis) Maropoulos 2020-05-06 21:08:12 +03:00
parent 8c470e46a2
commit a111c67241
5 changed files with 5 additions and 5 deletions

2
cache/cache_test.go vendored
View File

@ -14,7 +14,7 @@ import (
"github.com/kataras/iris/v12"
"github.com/kataras/iris/v12/context"
"github.com/gavv/httpexpect"
"github.com/iris-contrib/httpexpect/v2"
"github.com/kataras/iris/v12/httptest"
)

View File

@ -12,7 +12,7 @@ import (
"strings"
"testing"
"github.com/gavv/httpexpect"
"github.com/iris-contrib/httpexpect/v2"
)
const (

2
go.mod
View File

@ -10,7 +10,7 @@ require (
github.com/dgraph-io/badger/v2 v2.0.3
github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385
github.com/fatih/structs v1.1.0
github.com/gavv/httpexpect v2.0.0+incompatible
github.com/iris-contrib/httpexpect/v2 v2.0.5
github.com/golang/protobuf v1.4.0
github.com/gomodule/redigo v1.8.0
github.com/hashicorp/go-version v1.2.0

View File

@ -1,6 +1,6 @@
package httptest
import "github.com/gavv/httpexpect"
import "github.com/iris-contrib/httpexpect/v2"
type (
// Request type alias.

View File

@ -7,7 +7,7 @@ import (
"github.com/kataras/iris/v12"
"github.com/gavv/httpexpect"
"github.com/iris-contrib/httpexpect/v2"
)
type (