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

Merge remote-tracking branch 'upstream/master' into ls/fix_backslash_escape

This commit is contained in:
Terts Diepraam 2021-04-22 14:23:35 +02:00
commit ea10647a62
8 changed files with 394 additions and 165 deletions

View file

@ -109,6 +109,14 @@ fn test_ls_width() {
.arg("-w=bad")
.fails()
.stderr_contains("invalid line width");
for option in &["-w 1a", "-w=1a", "--width=1a", "--width 1a"] {
scene
.ucmd()
.args(&option.split(" ").collect::<Vec<_>>())
.fails()
.stderr_only("ls: error: invalid line width: 1a");
}
}
#[test]