Skip to content

Commit

Permalink
Merge pull request #6064 from cakebaker/sort_fix_6062
Browse files Browse the repository at this point in the history
sort: fix incorrectly placed "}" in test
  • Loading branch information
sylvestre authored Mar 13, 2024
2 parents 1725479 + 09adf77 commit 5d1b16e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/by-util/test_sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@ fn test_buffer_sizes() {
.arg("ext_sort.txt")
.succeeds()
.stdout_is_fixture("ext_sort.expected");
}

#[cfg(not(target_pointer_width = "32"))]
{
let buffer_sizes = ["1000G", "10T"];
for buffer_size in &buffer_sizes {
TestScenario::new(util_name!())
.ucmd()
.arg("-n")
.arg("-S")
.arg(buffer_size)
.arg("ext_sort.txt")
.succeeds()
.stdout_is_fixture("ext_sort.expected");
}
#[cfg(not(target_pointer_width = "32"))]
{
let buffer_sizes = ["1000G", "10T"];
for buffer_size in &buffer_sizes {
TestScenario::new(util_name!())
.ucmd()
.arg("-n")
.arg("-S")
.arg(buffer_size)
.arg("ext_sort.txt")
.succeeds()
.stdout_is_fixture("ext_sort.expected");
}
}
}
Expand Down

0 comments on commit 5d1b16e

Please sign in to comment.