1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

bug(seq) - Allow 'seq 6 -1 0'

Was failing with
```
Found argument '-1' which wasn't expected, or isn't valid in this context
```
otherwise
This commit is contained in:
Sylvestre Ledru 2020-12-19 11:17:41 +01:00 committed by Sylvestre Ledru
parent dbc716546b
commit 469abf2427
2 changed files with 7 additions and 1 deletions

View file

@ -14,6 +14,10 @@ fn test_count_down() {
.args(&["--", "5", "-1", "1"])
.run()
.stdout_is("5\n4\n3\n2\n1\n");
new_ucmd!()
.args(&["5", "-1", "1"])
.run()
.stdout_is("5\n4\n3\n2\n1\n");
}
#[test]