MCPcopy Index your code
hub / github.com/expr-lang/expr / NotImplementsf

Function NotImplementsf

internal/testify/assert/assertion_format.go:619–624  ·  view source on GitHub ↗

NotImplementsf asserts that an object does not implement the specified interface. assert.NotImplementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted")

(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

617//
618// assert.NotImplementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted")
619func NotImplementsf(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{}) bool {
620 if h, ok := t.(tHelper); ok {
621 h.Helper()
622 }
623 return NotImplements(t, interfaceObject, object, append([]interface{}{msg}, args...)...)
624}
625
626// NotNilf asserts that the specified object is not nil.
627//

Callers 2

NotImplementsfFunction · 0.92
NotImplementsfMethod · 0.70

Calls 2

NotImplementsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…