MCPcopy Create free account
hub / github.com/allegro/bigcache / noError

Function noError

queue/bytes_queue_test.go:483–490  ·  view source on GitHub ↗
(t *testing.T, e error)

Source from the content-addressed store, hash-verified

481}
482
483func noError(t *testing.T, e error) {
484 if e != nil {
485 _, file, line, _ := runtime.Caller(1)
486 file = path.Base(file)
487 t.Errorf(fmt.Sprintf("\n%s:%d: Error is not nil: \n"+
488 "actual : %T(%#v)\n", file, line, e, e))
489 }
490}
491
492func objectsAreEqual(expected, actual interface{}) bool {
493 if expected == nil || actual == nil {

Callers 4

TestPeekFunction · 0.70
TestResetFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…