-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 allow-print-in-tests config #9797
Conversation
Add a config, allow-print-in-tests, that can be set in clippy.toml which allows the usage of `[e]print[ln]!` macros in tests. Closes rust-lang#9795
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @flip1995 (or someone else) soon. Please see the contribution instructions for more information. |
r? @xFrednet |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Add allow-print-in-tests config Add a config, allow-print-in-tests, that can be set in clippy.toml which allows the usage of `[e]print[ln]!` macros in tests. Closes #9795 --- changelog: add config to allow prints in tests
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, my r+ was a bit too fast. I updated the changelog entry. Now we can merge it 🙃 @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Add a config, allow-print-in-tests, that can be set in clippy.toml which allows the usage of
[e]print[ln]!
macros in tests.Closes #9795
changelog: Enhancement: [print_stdout], [print_stderr]: Can now be enabled in test with the
allow-print-in-tests
config value