fix session test case
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -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 | } | ... | ... |
-
Please register or sign in to post a comment