1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-15 03:26:18 +00:00

sort: allow -f to be pass multiple time

Fix #5667
This commit is contained in:
Justin ! 2023-12-19 21:33:06 -05:00
parent c20f009da4
commit a6ba81db20
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View file

@ -1181,3 +1181,11 @@ fn test_tmp_files_deleted_on_sigint() {
fn test_same_sort_mode_twice() {
new_ucmd!().args(&["-k", "2n,2n", "empty.txt"]).succeeds();
}
#[test]
fn test_args_override() {
new_ucmd!()
.args(&["-f", "-f"])
.pipe_in("foo")
.succeeds();
}