mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
wc: more tests and fixes
My previous commits meant to bring our wc's output and behavior in line with GNU's. There should be tests that check for these changes! I found a stupid bug in my own changes, I was not adding 1 to the indexes produced by .enumerate() when printing errors.
This commit is contained in:
parent
c4b53a44b5
commit
e5b46ea3eb
5 changed files with 199 additions and 35 deletions
BIN
tests/fixtures/wc/files0 with nonexistent.txt
vendored
Normal file
BIN
tests/fixtures/wc/files0 with nonexistent.txt
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue