Skip to content
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

test(manifestation): replace run_future() with TestContext #3915

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

rami3l
Copy link
Member

@rami3l rami3l commented Jun 27, 2024

As a continuation of #3367 and #3856, this PR makes all tests in dist::manifestation::tests that rely on run_future() async, thus the latter can be fully removed.

@rami3l rami3l force-pushed the refactor/goodbye-run-future branch 6 times, most recently from 8ff50ee to cf17301 Compare June 27, 2024 06:25
@rami3l rami3l marked this pull request as ready for review June 27, 2024 06:27
@rami3l rami3l requested a review from djc June 27, 2024 06:28
@rami3l rami3l added this to the 1.28.0 milestone Jun 27, 2024
Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

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

Awesome! Would like some tweaks before I review this in a bit more detail...

src/dist/manifestation/tests.rs Show resolved Hide resolved
src/dist/manifestation/tests.rs Outdated Show resolved Hide resolved
@rami3l rami3l force-pushed the refactor/goodbye-run-future branch from cf17301 to 749f0c8 Compare June 27, 2024 09:55
@rami3l rami3l requested a review from djc June 27, 2024 09:56
@rami3l rami3l changed the title test(manifest): replace run_future() with TestContext test(manifestation): replace run_future() with TestContext Jun 27, 2024
@rami3l
Copy link
Member Author

rami3l commented Jun 27, 2024

@djc I don't know how you'd like to proceed with your reviews, but just FYI I find this PR a perfect fit for language-aware diffs like SemanticDiff: https://app.semanticdiff.com/gh/rust-lang/rustup/pull/3915/commits

src/dist/manifestation/tests.rs Show resolved Hide resolved
src/dist/manifestation/tests.rs Show resolved Hide resolved
@djc
Copy link
Contributor

djc commented Jun 27, 2024

@djc I don't know how you'd like to proceed with your reviews, but just FYI I find this PR a perfect fit for language-aware diffs like SemanticDiff: https://app.semanticdiff.com/gh/rust-lang/rustup/pull/3915/commits

Ooohhh, that is pretty awesome. Should try to use that more.

@rami3l rami3l added this pull request to the merge queue Jun 27, 2024
Merged via the queue into rust-lang:master with commit ad668d9 Jun 27, 2024
27 checks passed
@rami3l rami3l deleted the refactor/goodbye-run-future branch June 27, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants