Documentation
¶
Overview ¶
Minimalistic drop in eplacement for github.com/stretchr/testify/assert
Index ¶
- func Contains(t *testing.T, haystack, needle string, msg ...string)
- func Equal(t *testing.T, a, b interface{}, msg ...string)
- func EqualValues(t *testing.T, a, b interface{}, msg ...string)
- func Error(t *testing.T, err error, msg ...string)
- func Errorf(t *testing.T, format string, rest ...interface{})
- func Fail(t *testing.T, msg string)
- func False(t *testing.T, b bool, msg ...string)
- func NoError(t *testing.T, err error, msg ...string)
- func NotEqual(t *testing.T, a, b interface{}, msg ...string)
- func ObjectsAreEqualValues(a, b interface{}) bool
- func Run(t *testing.T, suite hasT)
- func True(t *testing.T, b bool, msg ...string)
- type TestSuite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualValues ¶
EqualValues checks for a equal b.
func ObjectsAreEqualValues ¶
func ObjectsAreEqualValues(a, b interface{}) bool
ObjectsAreEqualValues returns true if a == b (through refection).
Types ¶
Click to show internal directories.
Click to hide internal directories.