MCPcopy
hub / github.com/stretchr/testify / NotEqualValues

Function NotEqualValues

require/require.go:1565–1573  ·  view source on GitHub ↗

NotEqualValues asserts that two objects are not equal even when converted to the same type require.NotEqualValues(t, obj1, obj2)

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

Source from the content-addressed store, hash-verified

1563//
1564// require.NotEqualValues(t, obj1, obj2)
1565func NotEqualValues(t TestingT, expected interface{}, actual interface{}, msgAndArgs ...interface{}) {
1566 if h, ok := t.(tHelper); ok {
1567 h.Helper()
1568 }
1569 if assert.NotEqualValues(t, expected, actual, msgAndArgs...) {
1570 return
1571 }
1572 t.FailNow()
1573}
1574
1575// NotEqualValuesf asserts that two objects are not equal even when converted to the same type
1576//

Callers 1

NotEqualValuesMethod · 0.70

Calls 3

NotEqualValuesFunction · 0.92
HelperMethod · 0.65
FailNowMethod · 0.65

Tested by

no test coverage detected