Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Plug.Conn.Cookies tests #1231

Merged
merged 1 commit into from
Jun 23, 2024

Conversation

thymusvulgaris
Copy link
Contributor

  • Add test for when Plug.Conn.Cookies.decode/1 is given an argument equal to "=;".

  • Add test for Plug.Conn.Cookies.encode/2 that uses only the first argument, so that the default value of the second argument is used.

  • Expand the "encodes with :max_age" test to include test cases for all of the weekday and month names, and padding of a number (day) between 0 and 9.

* Add test for when Plug.Conn.Cookies.decode/1 is given an
  argument equal to "=;".

* Add test for Plug.Conn.Cookies.encode/2 that uses only the
  first argument, so that the default value of the second
  argument is used.

* Expand the "encodes with :max_age" test to include test cases
  for all of the weekday and month names, and padding of a number
  (day) between 0 and 9.
@josevalim josevalim merged commit 58a6bff into elixir-plug:main Jun 23, 2024
2 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants