mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
test(seq): add a test to check that we don't accept more than 3 args
This commit is contained in:
parent
58d7d89e07
commit
b4969c6cc2
1 changed files with 5 additions and 0 deletions
|
@ -31,3 +31,8 @@ fn test_equalize_widths() {
|
||||||
.run()
|
.run()
|
||||||
.stdout_is("05\n06\n07\n08\n09\n10\n");
|
.stdout_is("05\n06\n07\n08\n09\n10\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_seq_wrong_arg() {
|
||||||
|
new_ucmd!().args(&["-w", "5", "10", "33", "32"]).fails();
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue