coreutils/tests
sbentmar 42bf580f13
numfmt: add --invalid option (#4249)
* numfmt: add invalid option

* numfmt: return code 0 if ignore or warn

* numfmt: implement all --invalid modes

* numfmt: validate stdout and stderr

* numfmt: remove unnecessary code

* numfmt: apply formatting

* numfmt: fix clippy issues

* numfmt: fix failing test cases

* numfmt: fix formatting

* numfmt: fix bug when handling broken pipe

* numfmt: fix bug where extra newline was added

* numfmt: add test cases for edge cases

* numfmt: simplify error handling

* numfmt: remove redundant if

* numfmt: add newline between functions

* numfmt: fix failing test cases

* numfmt: add support for arg numbers using --invalid

* numfmt: simplify error handling in value handlers

* numfmt: fix merge conflict and align prints

* numfmt: fix clippy suggestion

* numfmt: replace "valid" with "invalid" in tests

* numfmt: move INVALID to respect alph. order

* numfmt: move printlns outside of match to avoid duplication

Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>

* numfmt: remove empty line

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
Co-authored-by: Sylvestre Ledru <sledru@mozilla.com>
2023-07-01 17:08:12 +02:00
..
benches/factor factor: add -h/--exponents option (#4710) 2023-04-14 21:20:19 +02:00
by-util numfmt: add --invalid option (#4249) 2023-07-01 17:08:12 +02:00
common du: directories have apparent size of 0 2023-06-25 15:56:57 -07:00
fixtures wc: more tests and fixes 2023-05-22 01:02:35 -07:00
test_util_name.rs chore: run cargo +nightly clippy --fix 2022-11-16 11:09:44 +02:00
tests.rs tests: remove all "extern crate" statements 2023-04-10 08:31:31 +02:00