Skip to content

pr: don't emit form feed with omit header flag - #17067

Merged
cakebaker merged 1 commit into
uutils:mainfrom
Devel08:fix-issue-17066
Dec 4, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
Devel08:fix-issue-17066

Conversation

@Devel08

@Devel08 Devel08 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

closes #17066

Comment thread tests/by-util/test_pr.rs Outdated
Comment on lines +1238 to +1239
("-tfre", "oi\n"),
("-tfre8", "oi\n"),

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.

A detail: with your change all expected values are the same now, so I would drop the expected variable and hard-code the expected value on line 1245.

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.

Yeah, you're right, I didn't notice the pattern.

Comment thread tests/by-util/test_pr.rs Outdated
#[test]
fn test_form_feed_and_omit_header() {
for args in [
&["-t", "-f"][..],

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 think the [..] is not necessary:

Suggested change
&["-t", "-f"][..],
&["-t", "-f"],

@Devel08
Devel08 force-pushed the fix-issue-17066 branch 2 times, most recently from 9e818b1 to 649eb67 Compare December 3, 2026 05:50
@cakebaker
cakebaker merged commit dd3e44d into uutils:main Dec 4, 2026
102 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks!

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.

pr: output differs with GNU whenever form feed and omit header flags are combined

2 participants