Skip to content

Add tests for admin/render_readmes #3969

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 4 commits into from
Oct 1, 2021

Conversation

nipunn1313
Copy link
Contributor

Depends on #3967
(Because of community/community#4477 (comment) - github ends up rendering both diffs together. Go to the commits tab and just look at the most recent commit to review).

Refactors slightly so we can add tests to the untested risky portion of this code.
I already found a couple of bugs which I will fix in follow up PRs with tests.

@Turbo87
Copy link
Member

Turbo87 commented Oct 1, 2021

@nipunn1313 I took the liberty of rebasing your branch and splitting it up into a few more individual commits. I hope thats okay with you :)

@Turbo87 Turbo87 added A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear labels Oct 1, 2021
@Turbo87
Copy link
Member

Turbo87 commented Oct 1, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Oct 1, 2021

📌 Commit 5ca4751 has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Oct 1, 2021

⌛ Testing commit 5ca4751 with merge 7bffbc6...

@bors
Copy link
Contributor

bors commented Oct 1, 2021

☀️ Test successful - checks-actions
Approved by: Turbo87
Pushing 7bffbc6 to master...

@bors bors merged commit 7bffbc6 into rust-lang:master Oct 1, 2021
@nipunn1313
Copy link
Contributor Author

nipunn1313 commented Oct 1, 2021 via email

bors added a commit that referenced this pull request Oct 5, 2021
Support admin render_readme with Cargo.toml without optional readme field

Depends on #3969

(Because of community/community#4477 (comment) - github ends up rendering both diffs together. Go to the commits tab and just look at the most recent commit to review).

https://doc.rust-lang.org/cargo/reference/manifest.html#the-readme-field
bors added a commit that referenced this pull request Oct 5, 2021
Support admin render_readme with Cargo.toml without optional readme field

Depends on #3969

(Because of community/community#4477 (comment) - github ends up rendering both diffs together. Go to the commits tab and just look at the most recent commit to review).

https://doc.rust-lang.org/cargo/reference/manifest.html#the-readme-field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants