8000 l10n: port sort for translation + add french by sylvestre · Pull Request #8244 · uutils/coreutils · GitHub
[go: up one dir, main page]

Skip to content

l10n: port sort for translation + add french #8244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 25, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
sort: add a test we were not covering
  • Loading branch information
sylvestre committed Jun 24, 2025
commit b68d8a975d86d0123b93c3a0ff8c08586be0bc09
6 changes: 6 additions & 0 deletions tests/by-util/test_sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
Loading
0