Skip to content

Fix both files can return an error#188

Open
GunterSchmidt wants to merge 10 commits intouutils:mainfrom
GunterSchmidt:Fix-both-files-can-return-an-error
Open

Fix both files can return an error#188
GunterSchmidt wants to merge 10 commits intouutils:mainfrom
GunterSchmidt:Fix-both-files-can-return-an-error

Conversation

@GunterSchmidt
Copy link
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 sylvestre force-pushed the Fix-both-files-can-return-an-error branch from 038f423 to d446f97 Compare March 7, 2026 17:35
@codspeed-hq
Copy link
Contributor

codspeed-hq bot commented Mar 7, 2026

Merging this PR will not alter performance

✅ 26 untouched benchmarks


Comparing GunterSchmidt:Fix-both-files-can-return-an-error (d446f97) with main (59e130a)

Open in CodSpeed

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