Corrected typos.
This commit is contained in:
parent
56e0719556
commit
93b881bf6a
@ -74,12 +74,12 @@ mod clocks {
|
|||||||
let msg2 = rx.recv().unwrap();
|
let msg2 = rx.recv().unwrap();
|
||||||
assert!(
|
assert!(
|
||||||
start.elapsed() >= SLEEP_FOR,
|
start.elapsed() >= SLEEP_FOR,
|
||||||
"did not pause long enough betwee sends"
|
"did not pause long enough between sends"
|
||||||
);
|
);
|
||||||
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() + SLEEP_FOR,
|
>= msg1.get_data("time").unwrap().to_datetime().unwrap() + SLEEP_FOR,
|
||||||
"shoould present the latest time"
|
"should present the latest time"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user