Skip to content

test: fix clippy::match_same_arms - #13548

Merged
RenjiSann merged 1 commit into
uutils:mainfrom
oech3:test-msa
Jul 28, 2026
Merged

test: fix clippy::match_same_arms#13548
RenjiSann merged 1 commit into
uutils:mainfrom
oech3:test-msa

Conversation

@oech3

@oech3 oech3 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Split #13541 (failing PR).

@codspeed-hq

codspeed-hq Bot commented Jul 24, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 345 untouched benchmarks
⏩ 46 skipped benchmarks1


Comparing oech3:test-msa (a4fcbda) with main (1e8a871)

Open in CodSpeed

Footnotes

  1. 46 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/pr/bounded-memory (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/tail-n0f (fails in this run but passes in the 'main' branch)
Note: The gnu test tests/printf/printf-surprise is now being skipped but was previously passing.

Comment thread src/uu/test/src/test.rs Outdated
.extension()
.and_then(|e| e.to_str())
.is_some_and(|e| matches!(e, "exe" | "bat" | "cmd" | "com")),
_ => false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i don't think it is better
i prefer the whole list

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I removed _ =>

@RenjiSann
RenjiSann merged commit f0b9793 into uutils:main Jul 28, 2026
161 of 164 checks passed
@oech3
oech3 deleted the test-msa branch July 28, 2026 13:16
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.

3 participants