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

echo: do not infer long args

This commit is contained in:
Terts Diepraam 2024-01-29 17:02:13 +01:00
parent c439f81129
commit 1b324da436
2 changed files with 13 additions and 1 deletions

View file

@ -293,3 +293,13 @@ fn old_octal_syntax() {
.succeeds()
.stdout_is("A1\n");
}
#[test]
fn partial_version_argument() {
new_ucmd!().arg("--ver").succeeds().stdout_is("--ver\n");
}
#[test]
fn partial_help_argument() {
new_ucmd!().arg("--he").succeeds().stdout_is("--he\n");
}