Skip to content

sync: remove duplicated code in OnceCell tests - #7458

Merged
Darksonn merged 2 commits into
tokio-rs:masterfrom
ADD-SP:add_sp/sync-refactor-once-cell-tests
Jul 14, 2025
Merged

sync: remove duplicated code in OnceCell tests#7458
Darksonn merged 2 commits into
tokio-rs:masterfrom
ADD-SP:add_sp/sync-refactor-once-cell-tests

Conversation

@ADD-SP

@ADD-SP ADD-SP commented Jul 12, 2025

Copy link
Copy Markdown
Member

I found some duplicated code in our tests while reviewing the #7418 (comment).

Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
@ADD-SP ADD-SP added C-maintenance Category: PRs that clean code up or issues documenting cleanup. A-tokio Area: The main tokio crate M-sync Module: tokio/sync labels Jul 12, 2025

@Darksonn Darksonn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These orderings could just be relaxed, but whatever.

@Darksonn
Darksonn merged commit 0a3fe46 into tokio-rs:master Jul 14, 2025
86 checks passed
@ADD-SP
ADD-SP deleted the add_sp/sync-refactor-once-cell-tests branch July 14, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tokio Area: The main tokio crate C-maintenance Category: PRs that clean code up or issues documenting cleanup. M-sync Module: tokio/sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants