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

test(seq): add a test to check that we don't accept more than 3 args

This commit is contained in:
Sylvestre Ledru 2020-10-20 22:35:19 +02:00 committed by Roy Ivy III
parent 58d7d89e07
commit b4969c6cc2

View file

@ -31,3 +31,8 @@ fn test_equalize_widths() {
.run()
.stdout_is("05\n06\n07\n08\n09\n10\n");
}
#[test]
fn test_seq_wrong_arg() {
new_ucmd!().args(&["-w", "5", "10", "33", "32"]).fails();
}