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

Method NotImplementsf

internal/testify/assert/assertion_forward.go:1234–1239  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1232//
1233// a.NotImplementsf((*MyInterface)(nil), new(MyObject), "error message %s", "formatted")
1234func (a *Assertions) NotImplementsf(interfaceObject interface{}, object interface{}, msg string, args ...interface{}) bool {
1235 if h, ok := a.t.(tHelper); ok {
1236 h.Helper()
1237 }
1238 return NotImplementsf(a.t, interfaceObject, object, msg, args...)
1239}
1240
1241// NotNil asserts that the specified object is not nil.
1242//

Callers

nothing calls this directly

Calls 2

NotImplementsfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected