View definition

func Equal(t TestingT, expected interface{}, actual interface{}, msgAndArgs ...interface{})

Defined in github.com/stretchr/testify/require/require.go

Description

Equal asserts that two objects are equal.

assert.Equal(t, 123, 123, "123 and 123 should be equal")

Returns whether the assertion was successful (true) or not (false).

Equal is referenced in 18 repositories

github.com/dilgerma/weave github.com/dennwc/cayley github.com/weaveworks/flux

...