Make swssion pass on any additional information.
This commit is contained in:
@@ -58,7 +58,7 @@ mod clocks {
|
||||
fn sends_timestamp() {
|
||||
let rx = start_clock([MsgType::Time].to_vec());
|
||||
let msg = rx.recv_timeout(TIMEOUT).unwrap();
|
||||
match msg.get_class() {
|
||||
match msg.get_msg_type() {
|
||||
MsgType::Time => {
|
||||
msg.get_data("time").unwrap().to_datetime().unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user