Documentation ¶
Index ¶
- func SetErrorsFatal(cond bool)
- func ShouldBeEqual(t *testing.T, value1 interface{}, value2 interface{}, opts ...cmp.Option) bool
- func ShouldBeError(t *testing.T, err error, format string, v ...any) bool
- func ShouldBeFalse(t *testing.T, condition bool, format string, v ...any) bool
- func ShouldBeInArray[V interface{} | types.Basic](t *testing.T, array []V, value V, opts ...cmp.Option) bool
- func ShouldBeNil(t *testing.T, value interface{}, format string, v ...any) bool
- func ShouldBeNoError(t *testing.T, err error, format string, v ...any) bool
- func ShouldBeSubstring(t *testing.T, str string, sub string) bool
- func ShouldBeTrue(t *testing.T, condition bool, format string, v ...any) bool
- func ShouldNotBeEqual(t *testing.T, value1 interface{}, value2 interface{}, opts ...cmp.Option) bool
- func ShouldNotBeInArray[V interface{} | string](t *testing.T, array []V, value V, opts ...cmp.Option) bool
- func ShouldNotBeNil(t *testing.T, value interface{}, format string, v ...any) bool
- func ShouldNotBeSubString(t *testing.T, str string, sub string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetErrorsFatal ¶ added in v1.1.0
func SetErrorsFatal(cond bool)
func ShouldBeEqual ¶
func ShouldBeInArray ¶
func ShouldNotBeEqual ¶
func ShouldNotBeInArray ¶
func ShouldNotBeNil ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.