FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix both files can return an error by GunterSchmidt · Pull Request #188 · uutils/diffutils · GitHub

Fix both files can return an error - #188

Open
GunterSchmidt wants to merge 11 commits into
uutils:mainfrom
GunterSchmidt:Fix-both-files-can-return-an-error
Open

Fix both files can return an error#188
GunterSchmidt wants to merge 11 commits into
uutils:mainfrom
GunterSchmidt:Fix-both-files-can-return-an-error

Conversation

Copy link
Copy Markdown
Contributor

The PR #159 changed the integration test cannot_read_files to only check for at least one file-not-found-error. GNU diff returns one file-not-found-error for each of the two given files.

This PR changes the test back (and includes the other utilities, as it was only run for 'diff') and I changed the code so that now both error message appear.

GunterSchmidt pushed a commit to GunterSchmidt/diffutils that referenced this pull request Mar 4, 2026
* ArgParser: removed default option, which does not exist in GNU diffutils
* fix test 'cannot_read_files' (same as PR uutils#188)
* merge test from PR uutils#159
sylvestre force-pushed the Fix-both-files-can-return-an-error branch from 038f423 to d446f97 Compare March 7, 2026 17:35

codspeed-hq Bot commented Mar 7, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 26 untouched benchmarks


Comparing GunterSchmidt:Fix-both-files-can-return-an-error (57beee7) with main (c624dc4)

Comment thread src/sdiff.rs
@@ -0,0 +1,404 @@
// This file is part of the uutils diffutils package.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

is it related ? :)

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL