Skip to content

Commit

Permalink
Add missing error check (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
leitzler authored and kisielk committed Oct 8, 2017
1 parent b61c93c commit a3acf13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a3acf13

Please sign in to comment.