1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 17:40:56 +00:00

remove ineffectual assignment to err

This commit is contained in:
AllenX2018 2020-11-18 09:56:56 +08:00
parent 6225f0c1e9
commit c6282e7b27

View File

@ -113,7 +113,7 @@ func TestRedisCache(t *testing.T) {
t.Error("GetMulti ERROR")
}
vv, err = bm.GetMulti(context.Background(), []string{"astaxie0", "astaxie1"})
vv, _ = bm.GetMulti(context.Background(), []string{"astaxie0", "astaxie1"})
if vv[0] != nil {
t.Error("GetMulti ERROR")
}