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

Method NotImplements

internal/testify/assert/assertion_forward.go:1224–1229  ·  view source on GitHub ↗

NotImplements asserts that an object does not implement the specified interface. a.NotImplements((*MyInterface)(nil), new(MyObject))

(interfaceObject interface{}, object interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

1222//
1223// a.NotImplements((*MyInterface)(nil), new(MyObject))
1224func (a *Assertions) NotImplements(interfaceObject interface{}, object interface{}, msgAndArgs ...interface{}) bool {
1225 if h, ok := a.t.(tHelper); ok {
1226 h.Helper()
1227 }
1228 return NotImplements(a.t, interfaceObject, object, msgAndArgs...)
1229}
1230
1231// NotImplementsf asserts that an object does not implement the specified interface.
1232//

Callers

nothing calls this directly

Calls 2

NotImplementsFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected