Skip to content

Return from snapshots, rather than skipping #2175

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

Merged
merged 1 commit into from
Aug 6, 2025
Merged

Return from snapshots, rather than skipping #2175

merged 1 commit into from
Aug 6, 2025

Conversation

hadley
Copy link
Member

@hadley hadley commented Aug 5, 2025

Because skipping causes the rest of the test not to run. I'm not sure what we should do instead, so I just return; this will still cause a skip to be emitted if no other expectations are run within the test.

Fixes #1585

Because skipping causes the rest of the test not to run. I'm not sure what we should do instead, so I just return; this will still cause a skip to be emitted if no other expectations are run within the test.

Fixes #1585
@hadley hadley requested a review from lionel- August 5, 2025 19:30
@hadley hadley merged commit 022b2e1 into main Aug 6, 2025
13 checks passed
@hadley hadley deleted the snapshot-return branch August 6, 2025 11:42
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.

Local skips for snapshots on CRAN?
2 participants