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

Function NotEqualValuesf

require/require.go:1578–1586  ·  view source on GitHub ↗

NotEqualValuesf asserts that two objects are not equal even when converted to the same type require.NotEqualValuesf(t, obj1, obj2, "error message %s", "formatted")

(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

1576//
1577// require.NotEqualValuesf(t, obj1, obj2, "error message %s", "formatted")
1578func NotEqualValuesf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) {
1579 if h, ok := t.(tHelper); ok {
1580 h.Helper()
1581 }
1582 if assert.NotEqualValuesf(t, expected, actual, msg, args...) {
1583 return
1584 }
1585 t.FailNow()
1586}
1587
1588// NotEqualf asserts that the specified values are NOT equal.
1589//

Callers 1

NotEqualValuesfMethod · 0.70

Calls 3

NotEqualValuesfFunction · 0.92
HelperMethod · 0.65
FailNowMethod · 0.65

Tested by

no test coverage detected