1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Merge pull request #8244 from sylvestre/l10n-sort

l10n: port sort for translation + add french
This commit is contained in:
Daniel Hofstetter 2025-06-25 10:13:57 +02:00 committed by GitHub
commit 9e57ce82d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 367 additions and 96 deletions

View file

@ -1054,6 +1054,12 @@ fn test_batch_size_invalid() {
.fails_with_code(2)
.stderr_contains("sort: invalid --batch-size argument '0'")
.stderr_contains("sort: minimum --batch-size argument is '2'");
// with -m, the error path is a bit different
TestScenario::new(util_name!())
.ucmd()
.args(&["-m", "--batch-size=a"])
.fails_with_code(2)
.stderr_contains("sort: invalid --batch-size argument 'a'");
}
#[test]