mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-16 19:56:17 +00:00
Merge pull request #2923 from jfinkels/seq-error-zero-increment-value
seq: correct error message for zero increment
This commit is contained in:
commit
f1d72018d7
2 changed files with 15 additions and 5 deletions
|
@ -701,3 +701,13 @@ fn test_format_option() {
|
|||
.succeeds()
|
||||
.stdout_only("0.00\n0.10\n0.20\n0.30\n0.40\n0.50\n");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_invalid_zero_increment_value() {
|
||||
new_ucmd!()
|
||||
.args(&["0", "0", "1"])
|
||||
.fails()
|
||||
.no_stdout()
|
||||
.stderr_contains("invalid Zero increment value: '0'")
|
||||
.stderr_contains("for more information.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue