mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-27 11:31:06 +01:00
test: fix failed tests after code changes
This commit is contained in:
@@ -37,7 +37,7 @@ func ExpectErrorT[T error](t *testing.T, err error) {
|
||||
|
||||
func ExpectEqual[T any](t *testing.T, got T, want T) {
|
||||
t.Helper()
|
||||
require.EqualValues(t, got, want)
|
||||
require.EqualValues(t, want, got)
|
||||
}
|
||||
|
||||
func ExpectContains[T any](t *testing.T, got T, wants []T) {
|
||||
|
||||
Reference in New Issue
Block a user