1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 02:01:05 +00:00
uutils-coreutils/tests
Jeffrey Finkelstein cccab35337 seq: improve error handling for invalid -f values
Improve the error message produced by `seq` when given invalid format
specifiers for the `-f` option. Before this commit:

    $ seq -f "%" 1
    seq: %: invalid conversion specification
    $ seq -f "%g%" 1
    seq: %: invalid conversion specification

After this commit:

    $ seq -f "%" 1
    seq: format '%' ends in %
    $ seq -f "%g%" 1
    seq: format '%g%' has too many % directives

This matches the behavior of GNU `seq`.
2024-12-30 12:30:26 -05:00
..
benches/factor num-prime => '0.4.4' 2024-10-15 22:46:44 +02:00
by-util seq: improve error handling for invalid -f values 2024-12-30 12:30:26 -05:00
common clippy: it is more idiomatic to use 'Option<&T>' instead of '&Option<T>' 2024-11-29 08:36:54 +01:00
fixtures sort: adapt fixtures to change in unicode-width 2024-12-09 09:20:19 +01:00
test_util_name.rs tests: fix some clippy warnings 2024-05-25 09:06:16 +02:00
tests.rs relpath: remove 2023-10-04 16:13:06 +02:00