931e6162 by astaxie

Merge pull request #574 from dz1984/fix/cache_test

Fix/cache test
2 parents f9cc9e9e 18f70e6e
......@@ -40,7 +40,7 @@ func TestCache(t *testing.T) {
}
if err = bm.Decr("astaxie"); err != nil {
t.Error("Incr Error", err)
t.Error("Decr Error", err)
}
if v := bm.Get("astaxie"); v.(int) != 1 {
......@@ -77,7 +77,7 @@ func TestFileCache(t *testing.T) {
}
if err = bm.Decr("astaxie"); err != nil {
t.Error("Incr Error", err)
t.Error("Decr Error", err)
}
if v := bm.Get("astaxie"); v.(int) != 1 {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!