1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-15 11:36:16 +00:00

Merge pull request #5012 from cakebaker/seq_rename_widths_to_equal_width

seq: rename "--widths" to "--equal-width"
This commit is contained in:
Sylvestre Ledru 2023-06-28 23:24:47 +02:00 committed by GitHub
commit 682e0e3750
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 11 deletions

View file

@ -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]