Commit ff7a1048 authored by ale's avatar ale

Fix session_test

parent fdd2b432
Pipeline #762 passed with stages
in 1 minute and 5 seconds
......@@ -26,7 +26,7 @@ func TestExpiringSession(t *testing.T) {
if err := gob.NewDecoder(&buf).Decode(&s2); err != nil {
t.Fatal("decode:", err)
}
if !reflect.DeepEqual(s, &s2) {
if !reflect.DeepEqual(s.Data, s2.Data) {
t.Fatalf("sessions differ: %+v vs %+v", s, &s2)
}
}
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