Documentation ¶
Index ¶
- func Equal(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
- func Error(t *testing.T, err error, msgAndArgs ...interface{}) bool
- func Exactly(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
- func GreaterOrEqual(t *testing.T, a, b int, msgAndArgs ...interface{}) bool
- func NoError(t *testing.T, err error, msgAndArgs ...interface{}) bool
- func NotEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{}) bool
- func NotNil(t *testing.T, a interface{}, msgAndArgs ...interface{}) bool
- func RequireEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{})
- func RequireGreaterOrEqual(t *testing.T, a, b int, msgAndArgs ...interface{})
- func RequireNoError(t *testing.T, err error, msgAndArgs ...interface{})
- func RequireNotEqual(t *testing.T, a, b interface{}, msgAndArgs ...interface{})
- func RequireNotNil(t *testing.T, a interface{}, msgAndArgs ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GreaterOrEqual ¶
GreaterOrEqual asserts that the first element is greater than or equal to the second
func RequireEqual ¶
RequireEqual asserts that two objects are equal. It marks the test as failed and stops execution.
func RequireGreaterOrEqual ¶
RequireGreaterOrEqual asserts that the first element is greater than or equal to the second It marks the test as failed and stops execution.
func RequireNoError ¶
RequireNoError asserts that a function returned no error (i.e. `nil`). It marks the test as failed and stops execution.
func RequireNotEqual ¶
RequireNotEqual asserts that two objects are NOT equal. It marks the test as failed and stops execution.
func RequireNotNil ¶
RequireNotNil asserts that the specified object is not nil. It marks the test as failed and stops execution.
Types ¶
This section is empty.