Browse Source

Add missing error check (#123)

pull/75/merge
Pontus Leitzler 7 years ago committed by Kamil Kisiel
parent
commit
a3acf13e80
  1. 4
      store_test.go

4
store_test.go

@ -59,6 +59,10 @@ func TestGH2MaxLength(t *testing.T) {
w := httptest.NewRecorder()
session, err := store.New(req, "my session")
if err != nil {
t.Fatal("failed to create session", err)
}
session.Values["big"] = make([]byte, base64.StdEncoding.DecodedLen(4096*2))
err = session.Save(req, w)
if err == nil {

Loading…
Cancel
Save