Merge pull request #4577 from cakebaker/clippy_fix_long_literal_lacking_separators

touch: add underscores to long number in test
This commit is contained in:
Sylvestre Ledru 2023-03-22 16:59:20 +01:00 committed by GitHub
commit 0f497660c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -464,7 +464,7 @@ fn test_touch_set_date5() {
// Slightly different result on Windows for nano seconds
// TODO: investigate
#[cfg(windows)]
let expected = FileTime::from_unix_time(67413, 23456700);
let expected = FileTime::from_unix_time(67413, 23_456_700);
#[cfg(not(windows))]
let expected = FileTime::from_unix_time(67413, 23_456_789);