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

Avoid unit tests that snapshot httr2 request objects directly #322

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

atheriel
Copy link
Collaborator

Instead, test against what usually matters, i.e. the headers, body, or URL.

This should fix test failures in #321.

Instead, test against what usually matters, i.e. the headers, body, or
URL.

Signed-off-by: Aaron Jacobs <aaron.jacobs@posit.co>
@hadley
Copy link
Member

hadley commented Feb 12, 2025

I think these would look better with str()

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