mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #7690 from nyurik/manual-inline
chore: manual inline formatting - tests
This commit is contained in:
commit
a77e218a79
26 changed files with 128 additions and 176 deletions
|
@ -585,11 +585,7 @@ fn test_du_h_precision() {
|
|||
.arg("--apparent-size")
|
||||
.arg(&fpath)
|
||||
.succeeds()
|
||||
.stdout_only(format!(
|
||||
"{}\t{}\n",
|
||||
expected_output,
|
||||
&fpath.to_string_lossy()
|
||||
));
|
||||
.stdout_only(format!("{expected_output}\t{}\n", fpath.to_string_lossy()));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -659,7 +655,7 @@ fn birth_supported() -> bool {
|
|||
let ts = TestScenario::new(util_name!());
|
||||
let m = match std::fs::metadata(&ts.fixtures.subdir) {
|
||||
Ok(m) => m,
|
||||
Err(e) => panic!("{}", e),
|
||||
Err(e) => panic!("{e}"),
|
||||
};
|
||||
m.created().is_ok()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue