-
Notifications
You must be signed in to change notification settings - Fork 898
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
cargo-fmt should format tests by default #803
Comments
+1 to this, yes please! |
I prepared a fix for this Zarokka@08b17ef but then I saw that PR #1206 seems to address this in a broader way |
I just tested this and it now seems to work as expected: code in |
Thanks for testing it out! |
This doesn't seem to work anymore as of My workaround is: |
Seems like I got hit by rust-lang/rustfmt#803 It did not ran formatting on the tests
Right now it'll only format the library and binary. You have to run
rustfmt
on the test source files directly to get tests.The text was updated successfully, but these errors were encountered: