This commit is contained in:
Daniel Ponte 2025-02-17 20:18:55 -05:00
parent c167ad33f8
commit 668ab1723a

View file

@ -45,6 +45,7 @@ func TestCacheTime(t *testing.T) {
time.Sleep(120 * time.Millisecond) time.Sleep(120 * time.Millisecond)
g, ok = c.Get(2) g, ok = c.Get(2)
assert.False(t, ok) assert.False(t, ok)
assert.Equal(t, "gff", g)
_, ok = c.Get(8) _, ok = c.Get(8)
assert.False(t, ok) assert.False(t, ok)