We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de3a0e3 commit bdbf151Copy full SHA for bdbf151
tests/pass-dep/tokio/sleep.rs
@@ -10,6 +10,5 @@ async fn main() {
10
// It takes 96 millisecond to sleep for 1 millisecond
11
// It takes 1025 millisecond to sleep for 1 second
12
let time_elapsed = &start.elapsed().as_millis();
13
- // If we're within 50 milliseconds that's okay
14
- assert!((1000..1050).contains(time_elapsed), "{}", time_elapsed);
+ assert!((1000..2000).contains(time_elapsed), "{}", time_elapsed);
15
}
0 commit comments