Skip to content

Add test cases for fixed issues #4189

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 3 commits into from
May 21, 2020
Merged

Conversation

ayazhafiz
Copy link
Contributor

@ayazhafiz ayazhafiz commented May 19, 2020

The cases with hard_tabs: true were fixed in 2836f9b.
Not sure about the rest, but this suggests a number of open issues are
already resolved.

Closes #3068
Closes #3550
Closes #3638
Closes #3858
Closes #3936

.long()
.long()
.long(),
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this second one validating that's not covered by the first one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first is a function, the second is the assert! macro. Per #3550 we want to see that assert! is formatted similar to regular function calls.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ha! and that's why reviewing PRs when half asleep isn't a great idea 😄

ayazhafiz added 2 commits May 20, 2020 10:37
The cases with `hard_tabs: true` were fixed in 2836f9b.
Not sure about the rest, but this suggests a number of open issues are
already resolved.

Closes rust-lang#3608
Closes rust-lang#3550
Closes rust-lang#3638
Closes rust-lang#3858
Closes rust-lang#3936
Copy link
Contributor

@topecongiro topecongiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for your work!

@topecongiro topecongiro merged commit 3626a0b into rust-lang:master May 21, 2020
@ayazhafiz ayazhafiz deleted the i/3936 branch May 22, 2020 16:16
bradleypmartin pushed a commit to bradleypmartin/rustfmt that referenced this pull request May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants