-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 UI test for issue #35144 #114092
Add UI test for issue #35144 #114092
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @b-naber (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
This comment has been minimized.
This comment has been minimized.
can we name the test something different than "issue-35144" 😅 |
also what is this exercising? it should probably not live in |
I'd like to postpone the file naming after compiler-team#658 😄
Hmm can you clarify? Do you mean the subdir |
No, issues/ is a dump for issues that are totally nonspecific. It shouldn't be used, and eventually it will hit the file limit and stop even being usable. The test should go into one of the many many other directories that better describe what it's actually testing.
I think you can come up with a better name even if we revert programmatically linting against bad issue test names 😄 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #114144) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment has been minimized.
This comment has been minimized.
(For the record, merge commits are not allowed in PRs -- see https://rustc-dev-guide.rust-lang.org/git.html#no-merge-policy) |
This comment has been minimized.
This comment has been minimized.
Some changes occurred in src/tools/cargo cc @ehuss |
This comment has been minimized.
This comment has been minimized.
28d0fad
to
9c237f2
Compare
9c237f2
to
7112622
Compare
☔ The latest upstream changes (presumably #114294) made this pull request unmergeable. Please resolve the merge conflicts. |
it's because you have updated the cargo submodule in this PR, https://github.com/rust-lang/rust/pull/114092/files#diff-33f03135675a053d29237bf61b13441e9f52fff29207605b5eb224c2f6e3507c |
I will get back to this Soon (:tm: ) @rustbot author |
@apiraino any updates on this? |
yes, I will be back on this at some point. Please don't take any action, if possible. Converting to draft if it helps clarifying the status. |
You don't need to convert to draft, as long as there is intent that you are still working on it which you've done already :P |
// Max number of files under "./ui/issues" | ||
const ISSUES_ENTRY_LIMIT: usize = 1892; | ||
// Max number of files under "./ui" | ||
const ROOT_ENTRY_LIMIT: usize = 871; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally I shouldnt need to touch this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless maybe you're moving things out of this folder. Otherwise, you are already adding a tests in a subfolder, so things should be fine from that point.
I'll circle back on this at another time |
This should finally close #35144
I am not sure if this test is correct. ideally the test should:
I'm reading the UI tests documentation to learn if this case is covered.
Opinions?