Documentation ¶
Index ¶
- func AssertEqual(t *testing.T, got, want any)
- func AssertErrorContains(t *testing.T, got error, want string)
- func AssertErrorIs(t *testing.T, got error, want error)
- func AssertNilError(t *testing.T, got error)
- func AssertNotEqual(t *testing.T, got, notwant any)
- func AssertSliceContains[T comparable](t *testing.T, got []T, want T)
- func AssertStringContains(t *testing.T, got, want string)
- func Config(t *testing.T) config.Config
- type CloserFunc
- type Random
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
func AssertNilError ¶
func AssertNotEqual ¶
func AssertSliceContains ¶
func AssertSliceContains[T comparable](t *testing.T, got []T, want T)
func AssertStringContains ¶
Types ¶
type CloserFunc ¶
type CloserFunc func()
func Repository ¶
func Repository(t *testing.T) (*repository.Repository, CloserFunc)
type Random ¶
type Random struct {
// contains filtered or unexported fields
}
func NewRandomFromSeed ¶
Click to show internal directories.
Click to hide internal directories.