deb28dd8 by astaxie

fix session test case

1 parent 7f394fea
...@@ -10,11 +10,11 @@ func Test_gob(t *testing.T) { ...@@ -10,11 +10,11 @@ func Test_gob(t *testing.T) {
10 a := make(map[interface{}]interface{}) 10 a := make(map[interface{}]interface{})
11 a["username"] = "astaxie" 11 a["username"] = "astaxie"
12 a[12] = 234 12 a[12] = 234
13 b, err := encodeGob(a) 13 b, err := EncodeGob(a)
14 if err != nil { 14 if err != nil {
15 t.Error(err) 15 t.Error(err)
16 } 16 }
17 c, err := decodeGob(b) 17 c, err := DecodeGob(b)
18 if err != nil { 18 if err != nil {
19 t.Error(err) 19 t.Error(err)
20 } 20 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!