test: fix failed tests after code changes

This commit is contained in:
yusing
2025-05-05 20:05:47 +08:00
parent f190483b4e
commit afd35c183d
6 changed files with 16 additions and 18 deletions

View File

@@ -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) {