We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b9d4e7 commit f22ac2aCopy full SHA for f22ac2a
tests/by-util/test_sort.rs
@@ -1054,6 +1054,12 @@ fn test_batch_size_invalid() {
1054
.fails_with_code(2)
1055
.stderr_contains("sort: invalid --batch-size argument '0'")
1056
.stderr_contains("sort: minimum --batch-size argument is '2'");
1057
+ // with -m, the error path is a bit different
1058
+ TestScenario::new(util_name!())
1059
+ .ucmd()
1060
+ .args(&["-m", "--batch-size=a"])
1061
+ .fails_with_code(2)
1062
+ .stderr_contains("sort: invalid --batch-size argument 'a'");
1063
}
1064
1065
#[test]
0 commit comments