1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 02:50:56 +00:00

update the error message

This commit is contained in:
Donald Zhan 2014-04-09 12:39:12 +08:00 committed by astaxie
parent 52817fb668
commit 348ff13857

4
cache/cache_test.go vendored
View File

@ -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 {