mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
dircolors+join+sleep: optimize int and string ops as required by clippy nightly
This commit is contained in:
parent
f0e8cf222c
commit
9eb7c85ab2
3 changed files with 3 additions and 3 deletions
|
@ -138,7 +138,7 @@ fn test_sleep_wrong_time() {
|
|||
#[test]
|
||||
fn test_sleep_when_single_input_exceeds_max_duration_then_no_error() {
|
||||
let mut child = new_ucmd!()
|
||||
.arg(format!("{}", u64::MAX as u128 + 1))
|
||||
.arg(format!("{}", u128::from(u64::MAX) + 1))
|
||||
.timeout(Duration::from_secs(10))
|
||||
.run_no_wait();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue