Remove bogus Duration::span test
This commit is contained in:
parent
9f1217da91
commit
46be8eb47c
1 changed files with 0 additions and 7 deletions
|
|
@ -554,11 +554,4 @@ mod tests {
|
|||
assert_eq!(format!("{:30}", Duration::days(1) + Duration::milliseconds(2345)),
|
||||
"P1DT2.345S".to_string());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn span() {
|
||||
use io::timer::sleep;
|
||||
let dur = Duration::span(|| sleep(Duration::milliseconds(5)));
|
||||
assert!(dur > Duration::milliseconds(1));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue