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

Function noError

assert_test.go:23–30  ·  view source on GitHub ↗
(t *testing.T, e error)

Source from the content-addressed store, hash-verified

21}
22
23func noError(t *testing.T, e error) {
24 if e != nil {
25 _, file, line, _ := runtime.Caller(1)
26 file = path.Base(file)
27 t.Errorf(fmt.Sprintf("\n%s:%d: Error is not nil: \n"+
28 "actual : %T(%#v)\n", file, line, e, e))
29 }
30}
31
32func objectsAreEqual(expected, actual interface{}) bool {
33 if expected == nil || actual == nil {

Callers 15

TestWriteAndGetOnCacheFunction · 0.70
TestAppendAndGetOnCacheFunction · 0.70
TestAppendRandomlyFunction · 0.70
TestAppendCollisionFunction · 0.70
TestTimingEvictionFunction · 0.70
TestCacheStatsFunction · 0.70
TestCacheEntryStatsFunction · 0.70
TestCacheRestStatsFunction · 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…