Skip to content

fold: refactor compute_col_count and add character mode tests#10533

Merged
sylvestre merged 1 commit intouutils:mainfrom
ChrisDryden:refactor-fold-compute-col-count
Feb 4, 2026
Merged

fold: refactor compute_col_count and add character mode tests#10533
sylvestre merged 1 commit intouutils:mainfrom
ChrisDryden:refactor-fold-compute-col-count

Conversation

@ChrisDryden
Copy link
Copy Markdown
Collaborator

After reviewing and merging #10530 I came to the realization that now the logic for characters matches the logic for Columns. I also afterwards installed the extension for codecov and saw that some of the of the match cases were missing code coverage.

From the Fuzzing I knew that the PR logic was sound, it just would be missing regression checks for future changes. Made this follow up PR to make the matching less verbose and add test cases for each of the match cases and tested it with gnu 9.9.

@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/shuf/shuf-reservoir (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/sort/sort-stale-thread-mem (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@sylvestre sylvestre merged commit c086d43 into uutils:main Feb 4, 2026
214 of 216 checks passed
aaron-ang pushed a commit to aaron-ang/coreutils that referenced this pull request Feb 4, 2026
…e-col-count

fold: refactor compute_col_count and add character mode tests
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