Documentation
¶
Index ¶
- func AssertEqual(t *testing.T, got, want any, msgAndArgs ...any)
- func AssertError(t *testing.T, err error, msgAndArgs ...any)
- func AssertFalse(t *testing.T, condition bool, msgAndArgs ...any)
- func AssertNoError(t *testing.T, err error, msgAndArgs ...any)
- func AssertNotEmpty(t *testing.T, val any, msgAndArgs ...any)
- func AssertTrue(t *testing.T, condition bool, msgAndArgs ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
AssertEqual fails the test if got != want (using reflect.DeepEqual).
func AssertError ¶
AssertError fails the test if err is nil.
func AssertFalse ¶
AssertFalse fails the test if condition is true.
func AssertNoError ¶
AssertNoError fails the test if err is non-nil.
func AssertNotEmpty ¶
AssertNotEmpty fails the test if val is nil or the zero value of its type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.