diff --git a/cache_test.go b/cache_test.go index a18f88f..3a1a6c7 100644 --- a/cache_test.go +++ b/cache_test.go @@ -2,8 +2,8 @@ package ccache import ( "github.com/karlseguin/gspec" - "testing" "strconv" + "testing" "time" ) diff --git a/item.go b/item.go index e08788b..80c1028 100644 --- a/item.go +++ b/item.go @@ -39,7 +39,6 @@ func newItem(key string, value interface{}, expires time.Time) *Item { } func (i *Item) shouldPromote(getsPerPromote int32) bool { - println(atomic.LoadInt32(&i.promotions)) return atomic.AddInt32(&i.promotions, 1) == getsPerPromote }