summaryrefslogtreecommitdiffstats
path: root/store_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'store_test.go')
-rw-r--r--store_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store_test.go b/store_test.go
index 01af0c3..f6cccc9 100644
--- a/store_test.go
+++ b/store_test.go
@@ -317,6 +317,7 @@ func TestStoreEvict(t *testing.T) {
if err := store.Policy.SetPolicy(PolicyFIFO); err != nil {
t.Fatalf("unexpected error: %v", err)
}
+
store.MaxCost = 5
store.Set([]byte("1"), []byte("1"), 0)