Commit deb28dd8 authored by astaxie's avatar astaxie

fix session test case

parent 7f394fea
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment