Improved send time test.
This commit is contained in:
parent
0bdcfce685
commit
56e0719556
@ -78,7 +78,7 @@ mod clocks {
|
|||||||
);
|
);
|
||||||
assert!(
|
assert!(
|
||||||
msg2.get_data("time").unwrap().to_datetime().unwrap()
|
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"
|
"shoould present the latest time"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user