Skip to content

test: Ensure all examples have a test #222

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
Jun 24, 2025

Conversation

Muscraft
Copy link
Member

While working on the rewrite, I ran into an issue where I added an example, but I forgot to add it to tests/examples.rs, so it wasn't being tested. This PR addresses that problem by adding a test that checks that every example has a test in tests/examples.rs.

@epage epage merged commit 07ee0ac into rust-lang:master Jun 24, 2025
15 checks passed
@Muscraft Muscraft deleted the all-examples-tested branch June 24, 2025 21:41
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