+
Skip to content

Conversation

cakebaker
Copy link
Contributor

GNU fmt fails when using fmt --goal=76 example.txt because the provided goal value is bigger than 75, the default width. uutils fmt, on the other hand, doesn't fail.

This PR fixes this issue and also replaces two magic numbers with constants.

Copy link

GNU testsuite comparison:

GNU test failed: tests/timeout/timeout. tests/timeout/timeout is passing on 'main'. Maybe you have to rebase?

@sylvestre sylvestre merged commit a3ff7b7 into uutils:main Mar 20, 2024
@cakebaker cakebaker deleted the fmt_fail_if_goal_bigger_than_default_width branch March 20, 2024 10:19
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载