MCPcopy Create free account
hub / github.com/stretchr/objx / NotEqual

Method NotEqual

std_assert_test.go:56–61  ·  view source on GitHub ↗
(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

54}
55
56func (a fatal) NotEqual(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{}) {
57 t.Helper()
58 if reflect.DeepEqual(expected, actual) {
59 a.fail(t, "should not be equal: %#v", actual)
60 }
61}
62
63func isNil(i interface{}) bool {
64 if i == nil {

Callers

nothing calls this directly

Calls 1

failMethod · 0.95

Tested by

no test coverage detected