Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cre4ture committed Apr 28, 2024
1 parent 29038d3 commit 39f2053
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/by-util/test_ls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,7 @@ fn test_setup_0() -> TestScenario {
at.create_filled_file(777, "irregular-file");

#[cfg(target_os = "freebsd")]
if scene.get_filesystem_type(at.plus(".") == "zfs")
{
if scene.get_filesystem_type(at.plus(".") == "zfs") {
// FreeBSD/zfs doesn't immediately report the correct number of blocks
// we need to force it to sync the data to disk.
scene.cmd("sync").args(&["-f", "."]).succeeds();
Expand Down Expand Up @@ -531,7 +530,8 @@ fn test_ls_allocation_size_10(test_setup_1: (TestScenario, ExpectedSizes)) {
let (scene, es) = test_setup_1;

// -k should make 'ls' ignore the env var
let total = es.zero_file_size_1k_blocks + es.file_with_holes_1k_blocks + es.empty_file_1k_blocks;
let total =
es.zero_file_size_1k_blocks + es.file_with_holes_1k_blocks + es.empty_file_1k_blocks;
scene
.ucmd()
.env("BLOCK_SIZE", "4K")
Expand Down

0 comments on commit 39f2053

Please sign in to comment.