From 0033928128777e6423cc17ff47dad2e74864a6ce Mon Sep 17 00:00:00 2001 From: Jan Scheer Date: Sun, 6 Jun 2021 22:56:11 +0200 Subject: [PATCH] sort: fix broken tests for '--batch-size' (replace 'B' with 'b') https://github.com/uutils/coreutils/pull/2297#issuecomment-855460881 --- tests/by-util/test_sort.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/by-util/test_sort.rs b/tests/by-util/test_sort.rs index 898bb3568..2894d3007 100644 --- a/tests/by-util/test_sort.rs +++ b/tests/by-util/test_sort.rs @@ -849,7 +849,7 @@ fn sort_multiple() { #[test] fn sort_empty_chunk() { new_ucmd!() - .args(&["-S", "40B"]) + .args(&["-S", "40b"]) .pipe_in("a\na\n") .succeeds() .stdout_is("a\na\n"); @@ -889,12 +889,7 @@ fn test_compress_fail() { #[test] fn test_merge_batches() { new_ucmd!() - .args(&[ - "ext_sort.txt", - "-n", - "-S", - "150B", - ]) + .args(&["ext_sort.txt", "-n", "-S", "150b"]) .succeeds() .stdout_only_fixture("ext_sort.expected"); }