mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
seq: rename "--widths" to "--equal-width"
for compatibility with GNU seq
This commit is contained in:
parent
9149409065
commit
c05dbfa3b4
2 changed files with 14 additions and 11 deletions
|
@ -208,10 +208,13 @@ fn test_separator_and_terminator() {
|
|||
|
||||
#[test]
|
||||
fn test_equalize_widths() {
|
||||
new_ucmd!()
|
||||
.args(&["-w", "5", "10"])
|
||||
.run()
|
||||
.stdout_is("05\n06\n07\n08\n09\n10\n");
|
||||
let args = ["-w", "--equal-width"];
|
||||
for arg in args {
|
||||
new_ucmd!()
|
||||
.args(&[arg, "5", "10"])
|
||||
.run()
|
||||
.stdout_is("05\n06\n07\n08\n09\n10\n");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue