diff --git a/src/clock.rs b/src/clock.rs index 6c689cc..0e622f3 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -78,7 +78,7 @@ mod clocks { ); assert!( msg2.get_data("time").unwrap().to_datetime().unwrap() - > msg1.get_data("time").unwrap().to_datetime().unwrap(), + >= msg1.get_data("time").unwrap().to_datetime().unwrap() + SLEEP_FOR, "shoould present the latest time" ); }