Skip to content

Commit bdbf151

Browse files
committed
ouch
1 parent de3a0e3 commit bdbf151

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/pass-dep/tokio/sleep.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ async fn main() {
1010
// It takes 96 millisecond to sleep for 1 millisecond
1111
// It takes 1025 millisecond to sleep for 1 second
1212
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);
13+
assert!((1000..2000).contains(time_elapsed), "{}", time_elapsed);
1514
}

0 commit comments

Comments
 (0)