Skip to content

test: add TestGenerateRandomKey and TestNopEncoder in securecookie_test.go - #93

Open
aoright wants to merge 1 commit into
gorilla:mainfrom
aoright:test/generaterandomkey-and-nopencoder
Open

test: add TestGenerateRandomKey and TestNopEncoder in securecookie_test.go#93
aoright wants to merge 1 commit into
gorilla:mainfrom
aoright:test/generaterandomkey-and-nopencoder

Conversation

@aoright

@aoright aoright commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • In securecookie_test.go, add unit tests for GenerateRandomKey() across common key lengths.
  • Add unit tests for NopEncoder.Serialize() and NopEncoder.Deserialize() error handling and pass-through.

…st.go

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