mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
chore: run cargo +nightly clippy --fix
This commit is contained in:
parent
c3218740dc
commit
fdd6a05259
9 changed files with 31 additions and 31 deletions
|
@ -1085,7 +1085,7 @@ fn test_cp_no_deref_folder_to_folder() {
|
|||
fn test_cp_archive() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
let ts = time::OffsetDateTime::now_local().unwrap();
|
||||
let previous = FileTime::from_unix_time(ts.unix_timestamp() - 3600, ts.nanosecond() as u32);
|
||||
let previous = FileTime::from_unix_time(ts.unix_timestamp() - 3600, ts.nanosecond());
|
||||
// set the file creation/modification an hour ago
|
||||
filetime::set_file_times(
|
||||
at.plus_as_string(TEST_HELLO_WORLD_SOURCE),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue