Skip to content

Commit

Permalink
fmt and change the value to be the same as used in the issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erk- committed May 23, 2023
1 parent 07f9a52 commit de05c50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tokio/tests/time_sleep.rs
Expand Up @@ -271,11 +271,10 @@ async fn exactly_max() {
async fn less_than_max() {
time::pause();

let big = std::time::Duration::from_secs(u64::MAX/100);
let big = std::time::Duration::from_secs(u64::MAX / 10);
time::sleep(big).await;
}


#[tokio::test]
async fn no_out_of_bounds_close_to_max() {
time::pause();
Expand Down

0 comments on commit de05c50

Please sign in to comment.