This commit is contained in:
Patrick Mylund Nielsen 2012-02-12 01:54:16 +01:00
parent ef0ef15586
commit 6660155e6c
1 changed files with 2 additions and 2 deletions

View File

@ -522,7 +522,7 @@ func testFillAndSerialize(t *testing.T, tc *Cache) {
t.Error("c is not c") t.Error("c is not c")
} }
<-time.After(5*time.Millisecond) <-time.After(5 * time.Millisecond)
_, found = oc.Get("expired") _, found = oc.Get("expired")
if found { if found {
t.Error("expired was found") t.Error("expired was found")