mirror of
https://github.com/astaxie/beego.git
synced 2025-07-10 02:30:18 +00:00
fix ineffectual
This commit is contained in:
@ -74,8 +74,7 @@ func TestCookieEncodeDecode(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal("encodeCookie:", err)
|
||||
}
|
||||
dst := make(map[interface{}]interface{})
|
||||
dst, err = decodeCookie(block, hashKey, securityName, str, 3600)
|
||||
dst, err := decodeCookie(block, hashKey, securityName, str, 3600)
|
||||
if err != nil {
|
||||
t.Fatal("decodeCookie", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user