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

Function NotEqualValuesf

assert/assertion_format.go:635–640  ·  view source on GitHub ↗

NotEqualValuesf asserts that two objects are not equal even when converted to the same type assert.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

633//
634// assert.NotEqualValuesf(t, obj1, obj2, "error message %s", "formatted")
635func NotEqualValuesf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
636 if h, ok := t.(tHelper); ok {
637 h.Helper()
638 }
639 return NotEqualValues(t, expected, actual, append([]interface{}{msg}, args...)...)
640}
641
642// NotErrorAsf asserts that none of the errors in err's chain matches target,
643// but if so, sets target to that error value.

Callers 2

NotEqualValuesfFunction · 0.92
NotEqualValuesfMethod · 0.70

Calls 2

NotEqualValuesFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected