gavv / httpexpect

End-to-end HTTP and REST API testing for Go.
https://pkg.go.dev/github.com/gavv/httpexpect/v2
MIT License
2.53k stars 237 forks source link

Update github.com/stretchr/testify to enable suite usage #447

Open thatgim opened 1 month ago

thatgim commented 1 month ago

Hi!

I just noticed I can't use github.com/stretchr/testify/suite with httpexpect because in v1.5.0 Suite.T() returns a custom wrapper type TestingT. https://pkg.go.dev/github.com/stretchr/testify@v1.5.0/suite#Suite.T In the latest version this is fixed/better because it just returns a regular *testing.T. https://pkg.go.dev/github.com/stretchr/testify@v1.9.0/suite#Suite.T