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

Demo quietness test #6216

Closed
wants to merge 1 commit into from
Closed

Conversation

compiler-errors
Copy link
Member

This is perhaps one way to ensure that rustfmt doesn't print anything spurious. This adds a dummy binary that invokes rustfmt via Session::<Blackhole>, invokes that binary for every idempotency test, and checks if the invoked binary has any stdout. If it does, then we panic.

This is just a demo -- I don't plan on actually reviving this or anything.

@compiler-errors
Copy link
Member Author

I'll leave it open long enough to see CI fail.

@compiler-errors
Copy link
Member Author

Well CI is failing for the wrong reason and I'm too lazy to fix it so here's the code if anyone wants to base something off of it! 🤷

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

Successfully merging this pull request may close these issues.

2 participants