Versions in this module Expand all Collapse all v1 v1.4.0 Apr 20, 2024 Changes in this version + func Equal[T comparable](t *testing.T, a, b T) + func ErrorAs[T error](t *testing.T, e error) (as T) + func ErrorIs(t *testing.T, e, other error) + func ErrorMatches(t *testing.T, e error, pattern string) + func NotEqual[T comparable](t *testing.T, a, b T) + func NotNil[X any, T nullable[X]](t *testing.T, v T) + func NotOk(t *testing.T, err error) + func ObjectEqual[T Equatable[T]](t *testing.T, a, b T) + func ObjectSliceEqual[T Equatable[T]](t *testing.T, a, b []T) + func Ok(t *testing.T, err error) + func PanicMatches(t *testing.T, fn func(), pattern string) + func SliceHasLen[T any](t *testing.T, v []T, length int) + func SlicesEqual[T comparable](t *testing.T, a, b []T) + type Equatable interface + Equal func(T) bool