-
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
doesn't format files in sub-directories in tests
#1820
Comments
I tested the following scenario:
sub_test.rs is formatted only when:
Is this behavior really desirable? |
I think there are two kinds of |
Just a heads up that I've taken a pass at this and now have a working implementation locally. Will open a PR for discussion/review/etc. within the next day or two |
I have a big integration test suite with sub-directories inside of the
tests
directory; runningcargo fmt
doesn't format these files.The text was updated successfully, but these errors were encountered: