Documentation
¶
Index ¶
- func Equal(t *testing.T, expected, actual any, msgAndArgs ...any) bool
- func Fail(t *testing.T, failureMessage string, msgAndArgs ...any) bool
- func Nil(t *testing.T, object any, msgAndArgs ...any) bool
- func NotEqual(t *testing.T, expected, actual any, msgAndArgs ...any) bool
- func NotNil(t *testing.T, object any, msgAndArgs ...any) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
Equal asserts that two objects are equal.
assert.Equal(t, 123, 123)
Pointer variable equality is determined based on the equality of the referenced values (as opposed to the memory addresses). Function equality cannot be determined and will always fail.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.