mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 02:20:54 +00:00
fix session test case
This commit is contained in:
parent
7f394feab5
commit
deb28dd873
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user