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

fix session test case

This commit is contained in:
astaxie 2014-04-04 10:16:34 +08:00
parent 7f394feab5
commit deb28dd873

View File

@ -10,11 +10,11 @@ func Test_gob(t *testing.T) {
a := make(map[interface{}]interface{})
a["username"] = "astaxie"
a[12] = 234
b, err := encodeGob(a)
b, err := EncodeGob(a)
if err != nil {
t.Error(err)
}
c, err := decodeGob(b)
c, err := DecodeGob(b)
if err != nil {
t.Error(err)
}