Skip to content

test: add SameSite assertions in TestNewCookieFromOptions - #294

Open
aoright wants to merge 1 commit into
gorilla:mainfrom
aoright:test/cookie-samesite-options
Open

test: add SameSite assertions in TestNewCookieFromOptions#294
aoright wants to merge 1 commit into
gorilla:mainfrom
aoright:test/cookie-samesite-options

Conversation

@aoright

@aoright aoright commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • In cookie_test.go::TestNewCookieFromOptions, add sameSite test cases covering SameSiteDefaultMode, SameSiteLaxMode, SameSiteStrictMode, and SameSiteNoneMode mapping to http.Cookie.

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant