Skip to content

Commit 0215536

Browse files
authored
Update tests/pass/shims/time-with-isolation.rs
1 parent a292a51 commit 0215536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pass/shims/time-with-isolation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fn main() {
2828
let diff = now2.duration_since(now1);
2929
assert_eq!(now1 + diff, now2);
3030
assert_eq!(now2 - diff, now1);
31-
assert_eq!(diff.as_micros());
31+
duration_sanity(diff);
3232

3333
test_sleep();
3434
}

0 commit comments

Comments
 (0)