Simplified version of testify, asserts equal to or nil.
import "github.com/fufuok/assert"
- func DeepEqual(expected, actual interface{}) bool
- func Empty(tb testing.TB, value interface{}, msgAndArgs ...interface{})
- func Equal(tb testing.TB, expected, actual interface{}, msgAndArgs ...interface{})
- func False(tb testing.TB, value bool, msgAndArgs ...interface{})
- func IsEmpty(o interface{}) bool
- func IsNil(o interface{}) bool
- func Nil(tb testing.TB, value interface{}, msgAndArgs ...interface{})
- func NotEmpty(tb testing.TB, value interface{}, msgAndArgs ...interface{})
- func NotEqual(tb testing.TB, expected, actual interface{}, msgAndArgs ...interface{})
- func NotNil(tb testing.TB, value interface{}, msgAndArgs ...interface{})
- func Panics(t *testing.T, title string, f func())
- func True(tb testing.TB, value bool, msgAndArgs ...interface{})
func DeepEqual(expected, actual interface{}) bool
DeepEqual Ref: stretchr/testify
func Empty(tb testing.TB, value interface{}, msgAndArgs ...interface{})
func Equal(tb testing.TB, expected, actual interface{}, msgAndArgs ...interface{})
Equal checks if values are equal Ref: gofiber/utils
func False(tb testing.TB, value bool, msgAndArgs ...interface{})
func IsEmpty(o interface{}) bool
IsEmpty gets whether the specified object is considered empty or not. Ref: stretchr/testify
func IsNil(o interface{}) bool
IsNil Ref: stretchr/testify
func Nil(tb testing.TB, value interface{}, msgAndArgs ...interface{})
func NotEmpty(tb testing.TB, value interface{}, msgAndArgs ...interface{})
func NotEqual(tb testing.TB, expected, actual interface{}, msgAndArgs ...interface{})
func NotNil(tb testing.TB, value interface{}, msgAndArgs ...interface{})
func Panics(t *testing.T, title string, f func())
func True(tb testing.TB, value bool, msgAndArgs ...interface{})
Generated by gomarkdoc